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

145 active golfers, 394 entries

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

05/30/2022 at 09:42PM

14
#>135 - Alex / @AlexanderHeatl2

05/30/2022 at 09:42PM

15
#>138 - Alex / @AlexanderHeatl2

05/30/2022 at 09:40PM

17
#>140 - Alex / @AlexanderHeatl2

05/30/2022 at 09:39PM

20
#>140 - Alex / @AlexanderHeatl2

05/30/2022 at 09:38PM