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 58c88ae7229d3b000600001f

Fiddle percentages into real numbers

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

Start file
1,25.1%,good
2,19.8%,bad
3,30.5%,bad
4,71.4%,good
5,16.8%,bad
6,93.9%,good
8,37.1%,bad
9,35.3%,bad
End file
1,.251,good
2,.198,bad
3,.305,bad
4,.714,good
5,.168,bad
6,.939,good
8,.371,bad
9,.353,bad

View Diff

1,8c1,8
< 1,25.1%,good
< 2,19.8%,bad
< 3,30.5%,bad
< 4,71.4%,good
< 5,16.8%,bad
< 6,93.9%,good
< 8,37.1%,bad
< 9,35.3%,bad
---
> 1,.251,good
> 2,.198,bad
> 3,.305,bad
> 4,.714,good
> 5,.168,bad
> 6,.939,good
> 8,.371,bad
> 9,.353,bad

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 290 remaining solutions by signing in and submitting your own entry
#291 Naz Malik / @nazwhale - Score: 73 - 04/20/17 @ 08:10
:s<BS>%s/%//g<CR>:%s/.//g<CR>u:%s/.//g<CR>uwwwxj.j.j.j.j..juj.j.hhi.<Esc>k.k.k.k.k.k.k.ZZ

0 comments


Created by: @coljac

291 active golfers, 865 entries

Leaderboard (lowest score wins):
13
#61 - drumstix576 / @drumstix576

05/02/2017 at 11:09AM

13
#62 - Acid One / @AcidOne2

05/02/2017 at 01:04PM

13
#63 - Allen | Wheels / @SRWheel5

05/02/2017 at 11:49PM

13
#64 - Patrick Sanan / @patricksanan

05/04/2017 at 10:00AM

13
#65 - Arnie Palmies / @ArnieViPalmies

05/05/2017 at 09:02PM

13
#66 - Sam Hammer / @samhammer325

05/06/2017 at 06:07AM

13
#67 - Bruce Park / @bpark0

05/07/2017 at 08:34PM

13
#68 - Wang Wu / @rubepeg

05/11/2017 at 01:16PM

13
#69 - ЯRicardo / @TresErresCo

05/16/2017 at 11:33PM

13
#70 - Mike Marion / @mikejmarion

05/17/2017 at 10:06PM

13
#71 - ʀǟɦʊʟ ɮɦօʟǟ / @theRahulBhola

05/24/2017 at 07:05PM

13
#72 - Melvin Cheung / @MelvinCheung

05/25/2017 at 04:57AM

13
#73 - David / @Revan4Vendetta

06/01/2017 at 01:49PM

13
#74 - David Gustavsson / @mrGustaphe

06/08/2017 at 02:39PM

13
#75 - Harsh Kumar / @datsleepyguy

06/11/2017 at 07:01PM

13
#76 - Michael Buckley / @apolatg

06/13/2017 at 09:37PM

13
#77 - Anthony George / @Xanuthatusu

06/15/2017 at 09:04PM

13
#78 - kanazawak / @_kanazawak

06/18/2017 at 01:51PM

13
#79 - Joel Meyer-Hamme / @JoelMeyerHamme

06/18/2017 at 04:21PM

13
#80 - Mayank Suman / @mayank_suman

06/25/2017 at 01:48PM

13
#81 - Bennett Bernardoni / @BBernardoni

06/28/2017 at 06:42PM

13
#82 - Ben Hill / @KaizenSoze70

06/30/2017 at 08:43PM

13
#83 - 杨洋 / @176795444

07/01/2017 at 07:52AM

13
#84 - Stop and think / @ms_uncountable

07/07/2017 at 09:44PM

13
#85 - Михаил Добров / @mSuGfwFz2ZNvv5b

07/09/2017 at 11:52AM

13
#86 - Jon Barker / @j0nbarker

07/16/2017 at 09:35PM

13
#87 - huho / @huho_xu

07/30/2017 at 02:57AM

13
#88 - Baine Wedlock / @BaineWedlock

08/13/2017 at 06:07PM

13
#89 - Terry Ding / @TerryDing77

08/24/2017 at 10:30AM

13
#90 - 心がポッキー / @lawliteqed

09/07/2017 at 03:24PM