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

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

3946 active golfers, 12858 entries

Solutions by @mlcramer:
15
#1531 - Michael Cramer / @mlcramer

06/23/2016 at 12:55AM

16
#>2213 - Michael Cramer / @mlcramer

04/25/2015 at 06:54PM

21
#>3452 - Michael Cramer / @mlcramer

06/23/2016 at 12:51AM