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

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

145 active golfers, 394 entries

Solutions by @DakshaChatur:
13
#117 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:17AM

14
#>135 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:16AM

15
#>138 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:15AM

17
#>140 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:14AM

18
#>140 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:13AM

21
#>140 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:12AM

24
#>143 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:10AM

25
#>145 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:09AM

27
#>145 - Daksha Chatur / @DakshaChatur

09/09/2022 at 09:22PM