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 @JGymglish:

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

118 active golfers, 320 entries

Solutions by @JGymglish:
23
#95 - JimmyGymglish / @JGymglish

01/02/2020 at 02:56PM

24
#>105 - JimmyGymglish / @JGymglish

01/02/2020 at 02:53PM

25
#>108 - JimmyGymglish / @JGymglish

01/02/2020 at 02:52PM

26
#>112 - JimmyGymglish / @JGymglish

01/02/2020 at 02:48PM

27
#>112 - JimmyGymglish / @JGymglish

01/02/2020 at 02:48PM

28
#>112 - JimmyGymglish / @JGymglish

01/02/2020 at 02:47PM

30
#>112 - JimmyGymglish / @JGymglish

01/02/2020 at 02:45PM