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

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

85 active golfers, 143 entries

Solutions by @ckishimo:
17
#84 - Carles Kishimoto / @ckishimo

11/29/2025 at 09:16PM

17
#>84 - Carles Kishimoto / @ckishimo

11/29/2025 at 09:19PM

18
#>84 - Carles Kishimoto / @ckishimo

11/29/2025 at 09:14PM

30
#>85 - Carles Kishimoto / @ckishimo

11/29/2025 at 09:14PM