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

3946 active golfers, 12858 entries

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

04/21/2017 at 12:04PM

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

04/21/2017 at 12:02PM

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

12/05/2017 at 04:42AM

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

04/21/2017 at 11:58AM

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

12/05/2017 at 04:39AM

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

04/21/2017 at 11:58AM

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

12/05/2017 at 04:39AM