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

3946 active golfers, 12858 entries

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

12/24/2020 at 12:18AM

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

12/24/2020 at 12:21AM

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

12/24/2020 at 12:17AM

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

12/24/2020 at 12:16AM

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

12/24/2020 at 12:15AM

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

12/24/2020 at 12:14AM

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

12/24/2020 at 12:19AM

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

12/24/2020 at 12:12AM

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

12/24/2020 at 12:13AM

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

12/24/2020 at 12:11AM