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

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

3964 active golfers, 12939 entries

Solutions by @ryannevius:
15
#1798 - Ryan Nevius / @ryannevius

03/17/2020 at 07:34PM

16
#>2506 - Ryan Nevius / @ryannevius

03/17/2020 at 07:33PM

17
#>2737 - Ryan Nevius / @ryannevius

03/17/2020 at 07:32PM

21
#>3507 - Ryan Nevius / @ryannevius

03/17/2020 at 07:29PM

22
#>3599 - Ryan Nevius / @ryannevius

03/17/2020 at 07:26PM