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
#61 - Rowan Tree / @RowanTr88447528

06/03/2017 at 12:48PM

13
#62 - Ryan Coopersmith / @RyanCoopersmit1

06/03/2017 at 02:01PM

13
#63 - siwa / @siwabada

06/04/2017 at 02:21PM

13
#64 - Adriano Benin / @adrianob11

06/06/2017 at 02:12AM

13
#65 - WangkeunOh / @owg7689

06/06/2017 at 09:45AM

13
#66 - Harsh Kumar / @datsleepyguy

06/06/2017 at 06:17PM

13
#67 - Sergey Lisakov / @pozitron57

06/06/2017 at 07:02PM

13
#68 - GVest Two / @GvestTwo

06/06/2017 at 07:23PM

13
#69 - toddagibson / @toddagibson

06/07/2017 at 12:27AM

13
#70 - Eric Coleman / @EpicColeman

06/07/2017 at 08:54PM

13
#71 - Adam Bozanich / @abozanich

06/08/2017 at 01:40AM

13
#72 - Victor Ramirez / @virako

06/08/2017 at 03:06PM

13
#73 - Renee Zhu / @reneezhu1994

06/08/2017 at 10:37PM

13
#74 - Sebastian Korten / @FlashKorten

06/10/2017 at 11:52AM

13
#75 - Ayman Farhat / @aymanfarhat

06/11/2017 at 11:21AM

13
#76 - James Maguire / @3rdMaguire

06/12/2017 at 10:50AM

13
#77 - Scott Mills / @smm1729

06/13/2017 at 01:57AM

13
#78 - Robert Mosher / @rcmosher

06/15/2017 at 05:00PM

13
#79 - Robert Goeddel / @f0rdpr3fect

06/15/2017 at 10:37PM

13
#80 - Mayank Suman / @mayank_suman

06/25/2017 at 12:58PM

13
#81 - Nathan Gober / @thegobernador

07/03/2017 at 01:05PM

13
#82 - Stop and think / @ms_uncountable

07/06/2017 at 06:58PM

13
#83 - Paul Inc / @hiniol1982

07/12/2017 at 08:25PM

13
#84 - James Houghton / @jamesthoughton

07/20/2017 at 03:56PM

13
#85 - Brandon Height / @Lask0x

08/08/2017 at 03:36AM

13
#86 - Luke Bryant / @LukeBryant55

10/07/2017 at 04:27PM

13
#87 - Charlie OConor / @charlieoconor

10/30/2017 at 11:33PM

13
#88 - Turkey Man / @lvturkeyman

11/09/2017 at 04:58AM

13
#89 - Paul Draghicescu / @pdragy

03/27/2018 at 08:41PM

13
#90 - Mihai / @mihaicristiant

01/03/2019 at 03:55PM