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 @jonas-grobe:

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

119 active golfers, 326 entries

Solutions by @jonas-grobe:
19
#65 - jonas-grobe / @jonas-grobe

02/04/2024 at 11:27AM

21
#>78 - jonas-grobe / @jonas-grobe

02/04/2024 at 11:26AM

22
#>89 - jonas-grobe / @jonas-grobe

02/04/2024 at 11:25AM

23
#>97 - jonas-grobe / @jonas-grobe

02/04/2024 at 11:22AM

25
#>109 - jonas-grobe / @jonas-grobe

02/04/2024 at 11:20AM

26
#>113 - jonas-grobe / @jonas-grobe

02/04/2024 at 11:16AM

30
#>113 - jonas-grobe / @jonas-grobe

02/04/2024 at 11:15AM

34
#>117 - jonas-grobe / @jonas-grobe

02/04/2024 at 11:12AM