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

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

3963 active golfers, 12935 entries

Solutions by @VKWHM:
14
#1178 - VKWHM / @VKWHM

08/22/2024 at 01:19PM

15
#>1868 - VKWHM / @VKWHM

08/22/2024 at 01:18PM

16
#>2535 - VKWHM / @VKWHM

08/22/2024 at 01:16PM

18
#>3007 - VKWHM / @VKWHM

08/22/2024 at 01:15PM

21
#>3517 - VKWHM / @VKWHM

08/22/2024 at 01:13PM