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

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

3963 active golfers, 12935 entries

Solutions by @herbage2:
14
#614 - herbage / @herbage2

11/04/2015 at 12:30PM

14
#>614 - herbage / @herbage2

11/04/2015 at 01:01PM

15
#>1498 - herbage / @herbage2

11/04/2015 at 12:16PM

17
#>2660 - herbage / @herbage2

11/04/2015 at 12:13PM

18
#>2883 - herbage / @herbage2

11/04/2015 at 12:05PM

18
#>2935 - herbage / @herbage2

09/30/2017 at 11:30PM

19
#>3091 - herbage / @herbage2

11/04/2015 at 12:04PM

20
#>3243 - herbage / @herbage2

11/04/2015 at 11:53AM