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 592e0f555b60ba0009000001

Stairstep digits

Remove the evens. Double the odds.

Start file
123456789
End file
1133557799

View Diff

A trick a golfer should know, but I don't think
many of you do. This challenge will fix that.

Solutions by @AlexanderHeatl2:

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

142 active golfers, 381 entries

Solutions by @AlexanderHeatl2:
13
#113 - Alex / @AlexanderHeatl2

05/30/2022 at 09:42PM

14
#>132 - Alex / @AlexanderHeatl2

05/30/2022 at 09:42PM

15
#>135 - Alex / @AlexanderHeatl2

05/30/2022 at 09:40PM

17
#>137 - Alex / @AlexanderHeatl2

05/30/2022 at 09:39PM

20
#>137 - Alex / @AlexanderHeatl2

05/30/2022 at 09:38PM