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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 106 remaining solutions by signing in and submitting your own entry
#107 Gurukandhamoorthi / @Gurukandhamoor1 - Score: 24 - 07/10/17 @ 09:30
:s/[2468]//g|s/./&&/g<CR>ZZ

0 comments


Created by: @udioica

107 active golfers, 225 entries

Leaderboard (lowest score wins):
13
#91 - pankaj singh / @pankajsingh013

01/30/2019 at 04:07PM

13
#92 - Gitsnik / @dracyrys

05/04/2019 at 01:46PM

13
#93 - Ivo Blöchliger / @aigledesalpes

08/23/2019 at 04:17PM

13
#94 - Miko / @_m_ik_o_

10/13/2019 at 11:02AM

13
#95 - vimgolfer / @vimgolfer7

10/16/2019 at 01:17PM

13
#96 - Lory / @Lory46845742

12/02/2019 at 09:49AM

14
#97 - Ayush Sachdeva / @ayush000

06/05/2017 at 04:27PM

14
#98 - Will Gunther / @WillGunther

06/11/2017 at 06:47PM

14
#99 - Emmanuel Herrero / @hairarrow

06/14/2017 at 07:31PM

14
#100 - grigouille / @grigouille2

07/05/2017 at 08:28PM

14
#101 - Daniel / @0x9ABC

08/20/2017 at 02:05PM

14
#102 - Geoff / @RealGeoffErwin

10/09/2017 at 06:55PM

15
#103 - Jurica / @Jurica34581259

11/16/2018 at 06:01PM

17
#104 - Rodrigo Dorantes G. / @ruydg

06/06/2017 at 05:35PM

22
#105 - SamuelLee / @SamuelLee90

06/01/2017 at 06:14PM

23
#106 - Ilya Grigorik / @igrigorik

06/11/2017 at 04:50PM

24
#107 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 09:30AM