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

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

3969 active golfers, 12967 entries

Solutions by @MelvinCheung:
15
#1767 - Melvin Cheung / @MelvinCheung

11/07/2019 at 06:13PM

15
#>1767 - Melvin Cheung / @MelvinCheung

11/07/2019 at 06:14PM

16
#>2377 - Melvin Cheung / @MelvinCheung

05/27/2017 at 04:05PM

17
#>2693 - Melvin Cheung / @MelvinCheung

05/27/2017 at 03:52PM

22
#>3583 - Melvin Cheung / @MelvinCheung

05/27/2017 at 03:56PM