Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 56421fb1603ec626ec000003

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 by @mctenshi:

Unlock 5 remaining solutions by signing in and submitting your own entry
Created by: @raxcoi

116 active golfers, 306 entries

Solutions by @mctenshi:
20
#70 - Goonoo Kim / @mctenshi

01/09/2016 at 02:31PM

20
#>70 - Goonoo Kim / @mctenshi

01/09/2016 at 02:35PM

21
#>73 - Goonoo Kim / @mctenshi

01/09/2016 at 02:28PM

23
#>88 - Goonoo Kim / @mctenshi

01/09/2016 at 02:23PM

29
#>110 - Goonoo Kim / @mctenshi

01/09/2016 at 02:12PM