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

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

3963 active golfers, 12935 entries

Solutions by @NgSekLong:
14
#950 - Ng Sek Long / @NgSekLong

02/09/2019 at 03:19PM

15
#>1709 - Ng Sek Long / @NgSekLong

02/09/2019 at 03:17PM

16
#>2465 - Ng Sek Long / @NgSekLong

02/09/2019 at 03:16PM

17
#>2720 - Ng Sek Long / @NgSekLong

02/09/2019 at 03:15PM

18
#>2982 - Ng Sek Long / @NgSekLong

02/09/2019 at 03:14PM

21
#>3498 - Ng Sek Long / @NgSekLong

02/09/2019 at 03:12PM

28
#>3860 - Ng Sek Long / @NgSekLong

02/09/2019 at 03:07PM