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

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

3905 active golfers, 12682 entries

Solutions by @martinodelilo:
14
#350 - Martin Delille / @martinodelilo

05/08/2014 at 11:44AM

14
#>994 - Martin Delille / @martinodelilo

08/22/2019 at 11:56AM

15
#>1320 - Martin Delille / @martinodelilo

05/08/2014 at 11:41AM

16
#>2065 - Martin Delille / @martinodelilo

05/08/2014 at 11:38AM

17
#>2560 - Martin Delille / @martinodelilo

05/08/2014 at 11:34AM

26
#>3745 - Martin Delille / @martinodelilo

06/09/2015 at 03:46PM