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 56e36925d64dfc4d28000001

Inner hyphens

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

Start file
abcdef
End file
a-b-c-d-e-f

View Diff

Why are you checking the diff? There's never anything good here.

Solutions by @nickandbro:

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

82 active golfers, 136 entries

Solutions by @nickandbro:
11
#14 - nickGPT / @nickandbro

08/28/2024 at 03:32AM

12
#>74 - nickGPT / @nickandbro

08/28/2024 at 03:32AM

13
#>79 - nickGPT / @nickandbro

08/28/2024 at 03:32AM

14
#>81 - nickGPT / @nickandbro

08/28/2024 at 03:32AM

21
#>82 - nickGPT / @nickandbro

08/28/2024 at 03:32AM