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

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

3977 active golfers, 12992 entries

Solutions by @magnuswahlstrand:
14
#1187 - Magnus Wahlstrand / @magnuswahlstrand

12/25/2024 at 10:29AM

15
#>1878 - Magnus Wahlstrand / @magnuswahlstrand

12/25/2024 at 09:18AM

16
#>2545 - Magnus Wahlstrand / @magnuswahlstrand

12/25/2024 at 09:15AM

23
#>3691 - Magnus Wahlstrand / @magnuswahlstrand

12/25/2024 at 09:14AM