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

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

3946 active golfers, 12858 entries

Solutions by @rasmohman:
14
#998 - Rasmus Öhman Bruno / @rasmohman

07/23/2019 at 12:08PM

15
#>1729 - Rasmus Öhman Bruno / @rasmohman

07/23/2019 at 12:06PM

16
#>2470 - Rasmus Öhman Bruno / @rasmohman

07/23/2019 at 12:05PM

17
#>2717 - Rasmus Öhman Bruno / @rasmohman

07/23/2019 at 12:03PM

18
#>2972 - Rasmus Öhman Bruno / @rasmohman

07/23/2019 at 12:02PM