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

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

3957 active golfers, 12918 entries

Solutions by @zk_evm:
16
#2529 - Olivier Bégassat / @zk_evm

06/15/2023 at 03:04PM

17
#>2751 - Olivier Bégassat / @zk_evm

06/15/2023 at 03:00PM