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

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

3972 active golfers, 12980 entries

Solutions by @cd_rum:
17
#2760 - rats is a cool name / @cd_rum

12/24/2020 at 12:18AM

17
#>2760 - rats is a cool name / @cd_rum

12/24/2020 at 12:21AM

18
#>3014 - rats is a cool name / @cd_rum

12/24/2020 at 12:17AM

20
#>3338 - rats is a cool name / @cd_rum

12/24/2020 at 12:16AM

21
#>3521 - rats is a cool name / @cd_rum

12/24/2020 at 12:15AM

23
#>3686 - rats is a cool name / @cd_rum

12/24/2020 at 12:14AM

23
#>3686 - rats is a cool name / @cd_rum

12/24/2020 at 12:19AM

25
#>3796 - rats is a cool name / @cd_rum

12/24/2020 at 12:12AM

26
#>3822 - rats is a cool name / @cd_rum

12/24/2020 at 12:13AM

50
#>3953 - rats is a cool name / @cd_rum

12/24/2020 at 12:11AM