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

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

3963 active golfers, 12935 entries

Solutions by @NotWearingPants:
13
#19 - NotWearingPants / @NotWearingPants

08/06/2024 at 12:30AM

14
#>1176 - NotWearingPants / @NotWearingPants

08/06/2024 at 12:29AM

15
#>1868 - NotWearingPants / @NotWearingPants

08/06/2024 at 12:26AM

16
#>2534 - NotWearingPants / @NotWearingPants

08/06/2024 at 12:25AM

17
#>2756 - NotWearingPants / @NotWearingPants

08/06/2024 at 12:21AM