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 135 remaining solutions by signing in and submitting your own entry
#136 arun mukundan / manyids2 - Score: 18 - 03/22/17 @ 13:00
qqla.<Esc>f.xlx+q7@qZZ

0 comments

#137 caplod / caplod - Score: 18 - 03/24/17 @ 13:18
qala.<Esc>f.xlx+q7@aZZ

0 comments

#138 JerryLee / varXinYuan - Score: 18 - 04/05/17 @ 09:54
qqwa.<Esc>f.xlx<CR>q7@qZZ

0 comments

#139 Alec Zhang / alecjzhang - Score: 18 - 04/18/17 @ 23:00
qqla.<Esc>f.xlx+q7@qZZ

0 comments

#140 Juha Paatelma / jpaatelm - Score: 18 - 04/20/17 @ 09:00
f.<C-V>Gf.xbPf%<C-V>Gf%xZZ

0 comments

#141 Sean / seanmcclory - Score: 18 - 04/24/17 @ 05:28
qqla.<Esc>f.xlx+q7@qZZ

0 comments

#142 Edouard Piette / EdPiette - Score: 18 - 05/04/17 @ 15:11
qqla.<Esc>f.xl.+q7@qZZ

0 comments

#143 brucesnyder / brucesnyder - Score: 18 - 05/04/17 @ 15:35
qqla.<Esc>f.xlx+q7@qZZ

0 comments

#144 Jenny Johnson / Kippz07 - Score: 18 - 05/06/17 @ 17:16
qqla.<Esc>f.xlx+q7@qZZ

0 comments

#145 Brad Brown / zoocat - Score: 18 - 05/07/17 @ 14:04
qqla.<Esc>f.xlx+q7@qZZ

0 comments

#146 Nathan J Slaughter / NjSlaughter - Score: 18 - 05/24/17 @ 02:59
qqla.<Esc>f.xlx+q7@qZZ

0 comments

#147 James Houghton / jamesthoughton - Score: 18 - 07/20/17 @ 15:48
qqf.xT,Pf%x+q7@qZZ

0 comments

#148 Tom Taylor / larsonsduck - Score: 18 - 07/27/17 @ 10:45
qqf.x2hPf%x<CR>q8@qZZ

0 comments

#149 kim🤔 / kimception - Score: 19 - 03/17/17 @ 22:05
<Esc>qqla.<Esc>f.xlx+q7@qZZ

0 comments

#150 Abhishek Amberkar / greenmang0 - Score: 19 - 03/26/17 @ 13:13
qqla.<Esc>f.xf%.Wq7@qZZ

0 comments

#151 Atsushi Terada / terada_atsushi - Score: 19 - 03/29/17 @ 12:31
<C-V>GlA.<Esc>2f.<C-V>8jxl.:wq<CR>

0 comments

#152 raffitz / raffitz - Score: 19 - 04/19/17 @ 17:30
qqla.<Esc>f.xlxj0q7@qZZ

0 comments

#153 Luke DeWitt / lanewalkerx - Score: 19 - 04/25/17 @ 22:26
qala.<Esc>3lxlxj0q7@aZZ

0 comments

#154 Ryan Coopersmith / RyanCoopersmit1 - Score: 19 - 06/04/17 @ 17:03
qqla.<Esc>f.xlxj0q7@qZZ

0 comments

#155 sebastian pech / specht08 - Score: 19 - 06/08/17 @ 18:10
qq0la.<Esc>f.xlxjq7@qZZ

0 comments

#156 coryknapp / coryknapp - Score: 20 - 03/16/17 @ 06:30
qqlli.<Esc>3lxlxj0q7@qZZ

0 comments

#157 Milovan Zogovic / zogash - Score: 20 - 04/13/17 @ 07:08
:%norm la.<C-V><Esc>3lxlx<CR>ZZ

0 comments

#158 Igor Melnyk / IrodrigesM - Score: 20 - 04/28/17 @ 13:08
qq^2wi.<Right><Right><Del><Right><Del><Esc>jq7@qZZ

0 comments

#159 IgnatiusMcGowan / IgnatiusMcGowan - Score: 20 - 05/23/17 @ 23:03
qq2li.<Esc>f.xlx<Down>0q7@qZZ

0 comments

#160 Eric Coleman / EpicColeman - Score: 21 - 03/15/17 @ 17:46
qq^f%xF.xT,i.<Esc>jq7@qZZ

0 comments

#161 Ryan Jarrett / texmexas - Score: 21 - 04/03/17 @ 14:50
:%s/[%.]//g<CR>l<C-V>8kA.<Esc>ZZ

0 comments

#162 Alexander Gryson / agryson - Score: 21 - 05/01/17 @ 14:51
4l<C-V>G4lx3hp:%s/%//g<CR>ZZ

0 comments

#163 Elliott Mantock / elGatoMantocko - Score: 22 - 04/30/17 @ 19:11
qqf,a.<Esc>f.xf%xj^@qq@qZZ

0 comments

#164 Colin Jacobs / coljac - Score: 27 - 03/15/17 @ 00:32
:%s/\(..\).\(.\)%/.\1\2/<CR>ZZ

0 comments

#165 Rodrigo García / garcialeonrodri - Score: 28 - 04/01/17 @ 16:46
:%s/\(..\)\.\(.\)%/\.\1\2<CR>ZZ

0 comments

#166 Souvik maji / SouvikMaji94 - Score: 30 - 03/19/17 @ 11:49
qa<Right>a.<Right><Right><Del><Right><Del><Esc>1<CR>q@a@a@a@a@a@a@aZZ

0 comments

#167 boggs / b_ggs - Score: 31 - 03/17/17 @ 02:52
qaf,li.<Esc>f.li<BS><Esc>f%li<BS><Esc>j0q7@a<Esc>:wq<CR>

0 comments

#168 Benny / mail2benny - Score: 37 - 06/15/17 @ 10:00
llll<C-V>jjjjjjjdhhhpllll<C-V>jjjjjjjjjjd:wq<CR>

0 comments

#169 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

169 active golfers, 498 entries

Leaderboard (lowest score wins):
13
#1 - tPenguinLTG / tpenguinltg

03/15/2017 at 12:45AM

13
#2 - Vaughn Cato / vaughncato

03/15/2017 at 03:35AM

13
#3 - Urtica dioica / udioica

03/15/2017 at 06:49AM

13
#4 - xwle / xwle

03/15/2017 at 07:21AM

13
#5 - Smylers / Smylers2

03/15/2017 at 07:21AM

13
#6 - John Braxler / braxler

03/15/2017 at 01:34PM

13
#7 - Saki Gw / Sakigw

03/15/2017 at 01:38PM

13
#8 - Roberto Carraretto / robcarraretto

03/16/2017 at 12:24AM

13
#9 - Evan Relf / evanrelf

03/16/2017 at 03:14AM

13
#10 - akanb / GAkt6L6SlKhy8zA

03/16/2017 at 04:13AM

13
#11 - Paulo H Baumann / PauloBaumann

03/16/2017 at 04:01PM

13
#12 - Zachary Neubert / Mr_Saturn16347

03/17/2017 at 01:17AM

13
#13 - John Wilson / Login4anonymity

03/18/2017 at 09:04AM

13
#14 - Carcarlo Pravettoni / trisino

03/18/2017 at 10:40PM

13
#15 - Evgeny`s Kindle / EvgenyKindle

03/19/2017 at 09:14AM

13
#16 - Christian Guenter / chris_guenter

03/19/2017 at 08:46PM

13
#17 - Matthias Klauer / M_Klauer

03/19/2017 at 09:08PM

13
#18 - Ilya Shakirov / aelaau

03/20/2017 at 07:44AM

13
#19 - James Pringle / jameskpringle

03/20/2017 at 04:48PM

13
#20 - Kyle Phelps / kph3lps

03/21/2017 at 01:56AM

13
#21 - Gabriel Florit / gabrielflorit

03/21/2017 at 03:32AM

13
#22 - David Wright / David27Wright

03/21/2017 at 03:51PM

13
#23 - Alex Subtle / AlexSubtle

03/21/2017 at 06:41PM

13
#24 - Andreas Hagesjö / Ankhagge

03/21/2017 at 10:49PM

13
#25 - maaaaaaacs / maaaaaacs

03/22/2017 at 11:10AM

13
#26 - Tose / Toseim

03/22/2017 at 11:50AM

13
#27 - Cameron Jones / Deimyts

03/22/2017 at 09:05PM

13
#28 - oscar / zonza_mas

03/23/2017 at 02:45PM

13
#29 - Bennett Rennier / BennettRennier

03/24/2017 at 01:42AM

13
#30 - GVest Two / GvestTwo

03/24/2017 at 03:19AM

13
#31 - Gary Carter / _carterg_

03/24/2017 at 06:42PM

13
#32 - Tyler Holien / tylerholien

03/24/2017 at 09:23PM

13
#33 - retro / tryphopp

03/26/2017 at 03:02AM

13
#34 - Nachiket Bhave / nachiketvb

03/27/2017 at 01:36PM

13
#35 - Daniel / Daniel00288663

03/27/2017 at 02:26PM

13
#36 - D W / dweij1

03/29/2017 at 03:07PM

13
#37 - JTR / meDOT__name__

03/30/2017 at 01:41AM

13
#38 - Maximilian Albert / cilix42

03/30/2017 at 01:42AM

13
#39 - Birger / Birger_Ni

03/30/2017 at 09:21AM

13
#40 - Pablo R. Dinella / pablordinella

03/30/2017 at 01:02PM

13
#41 - Quark / PuzzleQuark

04/01/2017 at 06:35PM

13
#42 - John Turner / turnerOnTheGrid

04/02/2017 at 07:20PM

13
#43 - Rao Zvorovski / RaoZvorovski

04/02/2017 at 07:27PM

13
#44 - Remus Dalrymple / bornintheflames

04/08/2017 at 12:21AM

13
#45 - Dmitriy / dm_alt

04/08/2017 at 10:12AM

13
#46 - Michael Robinson / laxdog

04/11/2017 at 12:34PM

13
#47 - Sebastian Rapp / se_rapp

04/12/2017 at 06:55PM

13
#48 - Colby Hamilton / ColbyHamilton5

04/17/2017 at 02:13PM

13
#49 - 梧桐王子 / WutongYujie

04/20/2017 at 01:48AM

13
#50 - Tom BP / ThosBP

04/20/2017 at 10:27AM

13
#51 - Jason Hooper 🇨🇦 / jasonincanada

04/22/2017 at 09:23PM

13
#52 - Apostolis Hardalias / a_hardalias

04/23/2017 at 04:11PM

13
#53 - Rami Hovi / hacker_lawyer

04/24/2017 at 03:19AM

13
#54 - Ionel Manolache / namnoi38

04/25/2017 at 02:53PM

13
#55 - Anthony BERNARD / TweetTontony

04/26/2017 at 11:06PM

13
#56 - Anton Matveev / aush_tx

04/27/2017 at 06:16PM

13
#57 - Stefan Uhl / der_wuschl

04/28/2017 at 09:32AM

13
#58 - Doug Chan / Coufu

04/28/2017 at 04:10PM

13
#59 - Russell Ball / rtball2

04/29/2017 at 08:25PM

13
#60 - Chris Robertson / chrisxrobertson

04/30/2017 at 01:06PM

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 - Rahul Bhola / 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 / lawliteqed

09/07/2017 at 03:24PM

14
#91 - James / Dronak

03/15/2017 at 12:59AM

14
#92 - Alexander Bessonov / nonsleepr

03/15/2017 at 05:09AM

14
#93 - AleksandarTrifunovic / akstrfn

03/15/2017 at 09:05AM

14
#94 - Dimitar Ivanov / dimisthoughts

03/19/2017 at 05:58PM

14
#95 - Jakob / jajob

03/21/2017 at 11:23AM

14
#96 - Mark Brody / _markbrody

03/24/2017 at 02:58AM

14
#97 - BlackCap / BlackCapCoder

03/24/2017 at 04:33PM

14
#98 - Reuben Narkwo / reubwo

03/29/2017 at 08:20PM

14
#99 - George / Vge0rge

04/06/2017 at 11:05PM

14
#100 - yukkiy_guitar / yukkiy_guitar

04/09/2017 at 01:08PM

14
#101 - Kevin Ash / ashkevinm

04/11/2017 at 08:21PM

14
#102 - Brian Hall / _bruab_

04/13/2017 at 03:51PM

14
#103 - jakeroberts / jakeroberts

05/20/2017 at 03:04PM

15
#104 - Solomon / Trugbildjaeger

04/15/2017 at 01:39PM

15
#105 - :q / AndyColonQ

04/18/2017 at 12:20AM

16
#106 - Jan Bundesmann / ixjab

03/15/2017 at 07:55AM

16
#107 - Kristian Haug / krimhaug

03/15/2017 at 09:48AM

16
#108 - jinx balotchnik / balotchnik

03/23/2017 at 02:25AM

16
#109 - Oscar 🐧 / GraveRaven

03/28/2017 at 04:18PM

16
#110 - やよい / 0x841

03/29/2017 at 04:21PM

16
#111 - Dhruva Sagar / dhruvasagar

04/03/2017 at 06:14AM

16
#112 - ネギ / NegiGreenWhite

04/07/2017 at 03:36PM

16
#113 - ephemient / ephemient

04/15/2017 at 06:50AM

16
#114 - marty / computerliker

05/05/2017 at 01:56AM

16
#115 - Gurukandhamoorthi / Gurukandhamoor1

07/10/2017 at 09:09AM

16
#116 - Marcin Paliwoda / eukaliptuss

08/27/2017 at 02:17PM

16
#117 - Paul Sonkoly / Phaul

08/28/2017 at 10:31AM

17
#118 - Stephan Bugnon / stephanbugnon

03/17/2017 at 02:52PM

17
#119 - Pradeep Kumar / pradeep6kumar

04/02/2017 at 05:55PM

17
#120 - 馬的愛人 / felipeanchieta_

04/08/2017 at 02:12PM

17
#121 - wort / rtiago98

05/06/2017 at 02:37PM

17
#122 - Codingpotato / codingpotato

05/07/2017 at 08:42AM

17
#123 - python-tweepy / python_tweepy

05/15/2017 at 01:43AM

17
#124 - Kyouma / kyoumaJohn

05/19/2017 at 01:36PM

17
#125 - Carl Egbert / CarlOEgbert

06/09/2017 at 07:16AM

17
#126 - Jacob Buete / JBuete

07/03/2017 at 12:29AM

17
#127 - Paul Inc / hiniol1982

07/13/2017 at 03:35PM

17
#128 - Robert Max Williams / MaxPhurich

09/11/2017 at 10:57PM

18
#129 - Anoop Kumar / anooplive

03/15/2017 at 01:03AM

18
#130 - John Mahowald / JohnMahowald

03/15/2017 at 06:34PM

18
#131 - Mitchell / Spitchell

03/16/2017 at 08:38AM

18
#132 - Constantine / ConstantineHatz

03/16/2017 at 03:28PM

18
#133 - Mads Jensen / mads_je

03/17/2017 at 02:26PM

18
#134 - evilmoe ☮ / evilmoe

03/17/2017 at 08:32PM

18
#135 - Andreas Anderbach / AAnderbach

03/19/2017 at 11:42AM

18
#136 - arun mukundan / manyids2

03/22/2017 at 01:00PM

18
#137 - caplod / caplod

03/24/2017 at 01:18PM

18
#138 - JerryLee / varXinYuan

04/05/2017 at 09:54AM

18
#139 - Alec Zhang / alecjzhang

04/18/2017 at 11:00PM

18
#140 - Juha Paatelma / jpaatelm

04/20/2017 at 09:00AM

18
#141 - Sean / seanmcclory

04/24/2017 at 05:28AM

18
#142 - Edouard Piette / EdPiette

05/04/2017 at 03:11PM

18
#143 - brucesnyder / brucesnyder

05/04/2017 at 03:35PM

18
#144 - Jenny Johnson / Kippz07

05/06/2017 at 05:16PM

18
#145 - Brad Brown / zoocat

05/07/2017 at 02:04PM

18
#146 - Nathan J Slaughter / NjSlaughter

05/24/2017 at 02:59AM

18
#147 - James Houghton / jamesthoughton

07/20/2017 at 03:48PM

18
#148 - Tom Taylor / larsonsduck

07/27/2017 at 10:45AM

19
#149 - kim🤔 / kimception

03/17/2017 at 10:05PM

19
#150 - Abhishek Amberkar / greenmang0

03/26/2017 at 01:13PM

19
#151 - Atsushi Terada / terada_atsushi

03/29/2017 at 12:31PM

19
#152 - raffitz / raffitz

04/19/2017 at 05:30PM

19
#153 - Luke DeWitt / lanewalkerx

04/25/2017 at 10:26PM

19
#154 - Ryan Coopersmith / RyanCoopersmit1

06/04/2017 at 05:03PM

19
#155 - sebastian pech / specht08

06/08/2017 at 06:10PM

20
#156 - coryknapp / coryknapp

03/16/2017 at 06:30AM

20
#157 - Milovan Zogovic / zogash

04/13/2017 at 07:08AM

20
#158 - Igor Melnyk / IrodrigesM

04/28/2017 at 01:08PM

20
#159 - IgnatiusMcGowan / IgnatiusMcGowan

05/23/2017 at 11:03PM

21
#160 - Eric Coleman / EpicColeman

03/15/2017 at 05:46PM

21
#161 - Ryan Jarrett / texmexas

04/03/2017 at 02:50PM

21
#162 - Alexander Gryson / agryson

05/01/2017 at 02:51PM

22
#163 - Elliott Mantock / elGatoMantocko

04/30/2017 at 07:11PM

27
#164 - Colin Jacobs / coljac

03/15/2017 at 12:32AM

28
#165 - Rodrigo García / garcialeonrodri

04/01/2017 at 04:46PM

30
#166 - Souvik maji / SouvikMaji94

03/19/2017 at 11:49AM

31
#167 - boggs / b_ggs

03/17/2017 at 02:52AM

37
#168 - Benny / mail2benny

06/15/2017 at 10:00AM

73
#169 - Naz Malik / nazwhale

04/20/2017 at 08:10AM