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

3979 active golfers, 13005 entries

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

12/24/2020 at 12:18AM

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

12/24/2020 at 12:21AM

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

12/24/2020 at 12:17AM

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

12/24/2020 at 12:16AM

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

12/24/2020 at 12:15AM

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

12/24/2020 at 12:14AM

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

12/24/2020 at 12:19AM

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

12/24/2020 at 12:12AM

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

12/24/2020 at 12:13AM

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

12/24/2020 at 12:11AM