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

141 active golfers, 376 entries

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

09/11/2022 at 02:17AM

14
#>131 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:16AM

15
#>134 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:15AM

17
#>136 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:14AM

18
#>136 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:13AM

21
#>136 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:12AM

24
#>139 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:10AM

25
#>141 - Daksha Chatur / @DakshaChatur

09/11/2022 at 02:09AM

27
#>141 - Daksha Chatur / @DakshaChatur

09/09/2022 at 09:22PM