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

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

3961 active golfers, 12929 entries

Solutions by @__ngtrongkha:
14
#1150 - Kha Nguyen / @__ngtrongkha

01/04/2021 at 06:45AM

15
#>1856 - Kha Nguyen / @__ngtrongkha

01/04/2021 at 06:44AM

16
#>2524 - Kha Nguyen / @__ngtrongkha

01/04/2021 at 06:43AM

17
#>2751 - Kha Nguyen / @__ngtrongkha

01/04/2021 at 06:43AM

18
#>3004 - Kha Nguyen / @__ngtrongkha

01/04/2021 at 06:42AM

19
#>3167 - Kha Nguyen / @__ngtrongkha

01/04/2021 at 06:40AM

20
#>3328 - Kha Nguyen / @__ngtrongkha

01/04/2021 at 06:38AM