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 @skewcy-bot:

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

90 active golfers, 155 entries

Solutions by @skewcy-bot:
12
#81 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:38AM

13
#>86 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:38AM

14
#>88 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:38AM

17
#>89 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:38AM

21
#>90 - skewcy-bot / @skewcy-bot

08/17/2026 at 07:38AM