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

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

3945 active golfers, 12854 entries

Solutions by @Ydebaeck:
14
#1071 - Niklas Ydebäck / @Ydebaeck

03/17/2020 at 12:10AM

14
#>1071 - Niklas Ydebäck / @Ydebaeck

03/17/2020 at 12:12AM

15
#>1787 - Niklas Ydebäck / @Ydebaeck

03/17/2020 at 12:09AM

16
#>2494 - Niklas Ydebäck / @Ydebaeck

03/17/2020 at 12:09AM

17
#>2722 - Niklas Ydebäck / @Ydebaeck

03/17/2020 at 12:08AM

18
#>2984 - Niklas Ydebäck / @Ydebaeck

03/17/2020 at 12:06AM