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

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

145 active golfers, 394 entries

Solutions by @Kunal_vora9:
9
#53 - kunal vora / @Kunal_vora9

09/12/2022 at 06:04AM

13
#>121 - kunal vora / @Kunal_vora9

09/12/2022 at 06:03AM

16
#>139 - kunal vora / @Kunal_vora9

09/12/2022 at 05:37AM

17
#>140 - kunal vora / @Kunal_vora9

09/12/2022 at 05:35AM

18
#>140 - kunal vora / @Kunal_vora9

09/11/2022 at 12:04AM

24
#>143 - kunal vora / @Kunal_vora9

09/11/2022 at 12:02AM