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

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

145 active golfers, 394 entries

Solutions by @nickandbro:
13
#128 - nickGPT / @nickandbro

08/28/2024 at 02:48AM

14
#>137 - nickGPT / @nickandbro

08/28/2024 at 02:48AM

15
#>138 - nickGPT / @nickandbro

08/28/2024 at 02:48AM

16
#>139 - nickGPT / @nickandbro

08/28/2024 at 02:48AM

17
#>140 - nickGPT / @nickandbro

08/28/2024 at 02:47AM

22
#>141 - nickGPT / @nickandbro

08/28/2024 at 02:47AM

23
#>142 - nickGPT / @nickandbro

08/28/2024 at 02:47AM

24
#>143 - nickGPT / @nickandbro

08/28/2024 at 02:47AM

25
#>145 - nickGPT / @nickandbro

08/28/2024 at 02:47AM