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 5192f96ad8df110002000002

Words in parens

We should all ace this, right?

Start file
one two
three
End file
(one) (two)
(three)

View Diff

1,2c1,2
< one two
< three
---
> (one) (two)
> (three)

Solutions by @GavinKoeng:

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

3986 active golfers, 13032 entries

Solutions by @GavinKoeng:
13
#32 - Gavin / @GavinKoeng

05/25/2026 at 02:47AM

14
#>1191 - Gavin / @GavinKoeng

05/25/2026 at 02:46AM

15
#>1885 - Gavin / @GavinKoeng

05/25/2026 at 02:46AM

16
#>2551 - Gavin / @GavinKoeng

05/25/2026 at 02:46AM