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

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

3969 active golfers, 12967 entries

Solutions by @WutongYujie:
14
#769 - 梧桐王子 / @WutongYujie

04/21/2017 at 12:04PM

15
#>1585 - 梧桐王子 / @WutongYujie

04/21/2017 at 12:02PM

15
#>1633 - 梧桐王子 / @WutongYujie

12/05/2017 at 04:42AM

16
#>2369 - 梧桐王子 / @WutongYujie

04/21/2017 at 11:58AM

17
#>2698 - 梧桐王子 / @WutongYujie

12/05/2017 at 04:39AM

18
#>2925 - 梧桐王子 / @WutongYujie

04/21/2017 at 11:58AM

19
#>3130 - 梧桐王子 / @WutongYujie

12/05/2017 at 04:39AM