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

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

3968 active golfers, 12966 entries

Solutions by @andyfoster:
13
#22 - Andy / @andyfoster

02/02/2025 at 06:10PM

14
#>1184 - Andy / @andyfoster

02/02/2025 at 06:09PM

15
#>1872 - Andy / @andyfoster

04/06/2024 at 01:58AM

16
#>2537 - Andy / @andyfoster

04/06/2024 at 01:56AM

16
#>2537 - Andy / @andyfoster

04/06/2024 at 01:57AM

24
#>3749 - Andy / @andyfoster

04/06/2024 at 01:53AM

36
#>3921 - Andy / @andyfoster

02/02/2025 at 06:07PM