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

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

3963 active golfers, 12935 entries

Solutions by @apel_mahmod:
13
#15 - Mohammad Apel Mahmod / @apel_mahmod

09/18/2023 at 07:05AM

13
#>15 - Mohammad Apel Mahmod / @apel_mahmod

09/19/2023 at 03:17AM

14
#>1174 - Mohammad Apel Mahmod / @apel_mahmod

09/18/2023 at 07:04AM

15
#>1866 - Mohammad Apel Mahmod / @apel_mahmod

09/18/2023 at 05:55AM

17
#>2755 - Mohammad Apel Mahmod / @apel_mahmod

09/18/2023 at 06:02AM

18
#>3007 - Mohammad Apel Mahmod / @apel_mahmod

09/18/2023 at 05:53AM

21
#>3515 - Mohammad Apel Mahmod / @apel_mahmod

09/18/2023 at 05:45AM