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

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

3905 active golfers, 12682 entries

Solutions by @jjohsan:
14
#568 - JS / @jjohsan

08/23/2015 at 07:40PM

14
#>999 - JS / @jjohsan

08/30/2019 at 12:51PM

15
#>1447 - JS / @jjohsan

08/23/2015 at 07:30PM

16
#>2220 - JS / @jjohsan

08/23/2015 at 04:14PM

17
#>2609 - JS / @jjohsan

08/23/2015 at 04:12PM

18
#>2939 - JS / @jjohsan

08/30/2019 at 12:49PM