Angular naming conventions
In angular, a directive name follows the camelCase convention. When the directive is used in an HTML template, the words are instead separated by a dash. Go from to the other the fastest!
Start file
Before I don't care greatDanesAreMyFriends After I don't care either
End file
Before I don't care great-danes-are-my-friends After I don't care either
View Diff
1c1
< Before I don't care greatDanesAreMyFriends After I don't care either
---
> Before I don't care great-danes-are-my-friends After I don't care either
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 116 remaining solutions by signing in and submitting your own entry
#117 William Ott / @oddalot - Score: 41 - 11/19/15 @ 05:36
:%s/\(\S)<BS>\)\([A-Z}<BS>]\)/\1-\L\2/g<CR>:q<CR>:wq<CR>
0 comments
#118 lonerr / @LonerrOleg - Score: 41 - 11/22/15 @ 00:48
WWWW<Right><Right><Right><Right><Right>qq~<Left>i-<Esc>q<Right><Right><Right><Right><Right><Right>@q<Right><Right><Right><Right><Right><Left>@q<Right><Right><Right>@q:x<CR>
0 comments