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 5293b3574f09ff0002000033

Going underground....

Simple reformatting: in this case changing from the format London underground supplies its customers with, to the format that Google Calendar likes...

Start file
Date,Start Time,End Time,Journey/Action,Charge,Credit,Balance,Note
23-Nov-2013,12:16,12:38,"Bermondsey to West Hampstead [London Underground]",2.10,,26.50,""
23-Nov-2013,09:38,10:02,"West Hampstead [London Underground] to Bermondsey",2.10,,8.60,""
20-Nov-2013,23:14,23:43,"Kennington to West Hampstead [London Underground]",1.40,,10.70,"The fare for this journey was capped as you reached the daily charging limit for the zones used"
20-Nov-2013,20:53,,"Bus journey, route 159",1.40,,12.10,""
20-Nov-2013,20:27,20:50,"Warwick Avenue to Lambeth North",2.10,,13.50,""
20-Nov-2013,17:57,18:19,"West Hampstead [London Underground] to Paddington (Bakerloo, Circle/District and H&C)",2.10,,15.60,""
18-Nov-2013,17:37,17:48,"Kensal Rise to West Hampstead [London Overground]",1.60,,24.90,""
18-Nov-2013,17:31,,"Bus journey, route 6",1.40,,26.50,""
18-Nov-2013,16:16,,"Bus journey, route 6",1.40,,27.90,""
End file
Date,Start Time,End Time,Journey/Action,Charge,Credit,Balance,Note
23-Nov-2013,12:16-12:38,"Bermondsey to West Hampstead [London Underground]"
23-Nov-2013,09:38-10:02,"West Hampstead [London Underground] to Bermondsey"
20-Nov-2013,23:14-23:43,"Kennington to West Hampstead [London Underground]"
20-Nov-2013,20:53,"Bus journey, route 159"
20-Nov-2013,20:27-20:50,"Warwick Avenue to Lambeth North"
20-Nov-2013,17:57-18:19,"West Hampstead [London Underground] to Paddington (Bakerloo, Circle/District and H&C)"
18-Nov-2013,17:37-17:48,"Kensal Rise to West Hampstead [London Overground]"
18-Nov-2013,17:31,"Bus journey, route 6"
18-Nov-2013,16:16,"Bus journey, route 6"

View Diff

3,11c3,11
< 23-Nov-2013,12:16,12:38,"Bermondsey to West Hampstead [London Underground]",2.10,,26.50,""
< 23-Nov-2013,09:38,10:02,"West Hampstead [London Underground] to Bermondsey",2.10,,8.60,""
< 20-Nov-2013,23:14,23:43,"Kennington to West Hampstead [London Underground]",1.40,,10.70,"The fare for this journey was capped as you reached the daily charging limit for the zones used"
< 20-Nov-2013,20:53,,"Bus journey, route 159",1.40,,12.10,""
< 20-Nov-2013,20:27,20:50,"Warwick Avenue to Lambeth North",2.10,,13.50,""
< 20-Nov-2013,17:57,18:19,"West Hampstead [London Underground] to Paddington (Bakerloo, Circle/District and H&C)",2.10,,15.60,""
< 18-Nov-2013,17:37,17:48,"Kensal Rise to West Hampstead [London Overground]",1.60,,24.90,""
< 18-Nov-2013,17:31,,"Bus journey, route 6",1.40,,26.50,""
< 18-Nov-2013,16:16,,"Bus journey, route 6",1.40,,27.90,""
---
> 23-Nov-2013,12:16-12:38,"Bermondsey to West Hampstead [London Underground]"
> 23-Nov-2013,09:38-10:02,"West Hampstead [London Underground] to Bermondsey"
> 20-Nov-2013,23:14-23:43,"Kennington to West Hampstead [London Underground]"
> 20-Nov-2013,20:53,"Bus journey, route 159"
> 20-Nov-2013,20:27-20:50,"Warwick Avenue to Lambeth North"
> 20-Nov-2013,17:57-18:19,"West Hampstead [London Underground] to Paddington (Bakerloo, Circle/District and H&C)"
> 18-Nov-2013,17:37-17:48,"Kensal Rise to West Hampstead [London Overground]"
> 18-Nov-2013,17:31,"Bus journey, route 6"
> 18-Nov-2013,16:16,"Bus journey, route 6"

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 89 remaining solutions by signing in and submitting your own entry
#90 Fake Name / The_Real_User - Score: 37 - 01/20/14 @ 00:42
:%s/",.*/"/g<CR>2f,xkxkr-k.k.4k.j.j.jxZZ

0 comments

#91 Pieter Kuijpers / pkuijpers - Score: 37 - 02/13/14 @ 19:01
:%s/",.*/"/g<CR>2f,xkxkr-k.k.4k.j.j.jxZZ

0 comments

#92 Edgar Klerks / eklerks - Score: 38 - 12/18/13 @ 17:26
jjqa2f,r-f.F,d$^jq9@a:g/-,/s//,/g<CR>:wq<CR>

0 comments

#93 Danny Hyun / Lspacewalker - Score: 38 - 01/24/14 @ 17:21
2jqqf";lDj_q8@qF,;<C-V>kxkh<C-V>kkr-kxk<C-V>2kr-ZZ

0 comments

#94 w1zeman1p / wizemanip - Score: 39 - 05/17/14 @ 19:58
2jqq$2dT"xjq9@q3F,xkxkr-k.k.kxkr-k.k.ZZ

0 comments

#95 iegorka / iegorka - Score: 40 - 11/26/13 @ 08:34
:%s/<0xc3><0xa9><BS>",.*/g<BS>"/g<CR>f,.;<C-V>8kr<kMinus>:%s/<kMinus>,/,/g<CR>ZZ

0 comments

#96 Felipe Jaramillo F / mrfelipe - Score: 40 - 04/02/14 @ 22:45
:%s/,,/,/g<CR>3Gqq2f"lD<CR>q8@q3G2f,<C-V>jjr-4j.ZZ

0 comments

#97 WoljaIlpapa / WoljaIlpapa - Score: 41 - 12/28/13 @ 07:30
:%s/",.*/"/g<CR>:%s/\%18v,/-/g<CR>:%s/-,/,/g<CR>ZZ

0 comments

#98 a / asdfsdafdsfdsaf - Score: 41 - 01/04/14 @ 02:37
:%s/,,/,/g<CR>3Gqaf";ld$<CR>q8@a3Gf,;<C-V>jjr-4j.ZZ

0 comments

#99 Patrick Pitoscia / Patrick03960431 - Score: 41 - 08/05/14 @ 03:00
2jqa0f";lDjq9@a3Gf,;r-j.j.jxjr-j.j.jxjxZZ

0 comments

#100 Matthew M. Keeler / keelerm84 - Score: 42 - 02/02/14 @ 05:18
:%s/,,/,/<CR>qq2f"lD_kq8@qjqq2f,r-<CR>q2@qj3@qZZ

0 comments

#101 Raphael / rnstlr - Score: 44 - 11/26/13 @ 22:07
jjqa2f,r-2f"ld$j0q2@aqb2f,x2f"df"j0q3@a2@bZZ

0 comments

#102 Endre Galaczi / galacziendre - Score: 45 - 08/20/15 @ 14:35
jjqqf"f"ld$j0q9@q/6<CR>lr-j.j.2j.j.j.4kjx4jxjxZZ

0 comments

#103 adamblank / adamblank - Score: 46 - 12/20/13 @ 19:33
:%s/",.*/"<CR>:%s/,\([^,]*\),"/-\1,"<CR>:%s/-,/,<CR>:x<CR>

0 comments

#104 Benjamin Williams / benjaminjosephw - Score: 46 - 01/11/14 @ 19:18
:%s/,,/,/<CR>:%s/",/<BS>.*/"/<CR>17lkkvk<C-V>kr-4lu<C-R>4k.:wq<CR>

0 comments

#105 Chaitanya Desu / ChaituNu - Score: 47 - 05/06/14 @ 03:54
:%s/",.*/"<CR>:%s/<Esc>ggjj2f,<C-V><C-E><C-E><C-E><C-E><C-E><C-E><C-E><C-E>r-:%s/-,/,/g<CR>ZZ

0 comments

#106 Brian Peiris / brianpeiris - Score: 50 - 12/28/13 @ 04:37
/,1<CR>n<C-V>Gf,;s-<Esc>/-,<CR>dln.n./",<CR>C"<Esc>5.n.n.n.n.n.n.n.n.ZZ

0 comments

#107 Christophe de Vienne / cmdevienne - Score: 50 - 01/01/14 @ 17:12
/,1<CR>n<C-V>jjjjjjr-:%s/",\d.*$/"/<CR>:%s/-,/,/<CR>:<Up><Left><Left><Left><Left><BS>,<CR>ZZ

0 comments

#108 Almog / almog - Score: 54 - 02/11/14 @ 14:50
jjqq2f"lD<CR>q9@q:%s/,,/,g<BS>/g<CR>kk2f,r-kr-kr-kkr-kr-kr-:wq<CR>

0 comments

#109 Dmitry Teslenko / krab_mozga - Score: 58 - 04/07/14 @ 08:13
:%s/",.*/"/g<CR>:%s/:\(\d*\),\(\d*\):/:\1-\2:/g<CR>:%s/,,/,/g<CR>ZZ

0 comments

#110 wilddog64 / chengkai318 - Score: 61 - 12/17/13 @ 15:41
:%s/:\d\+\zs,\(\d\+\)/-\1/g<CR>:%s/,\d\.\d\+.*$//g<CR>:%s/,,/,/g<CR>ZZ

0 comments

#111 Jake Eaton / Jake__Eaton - Score: 63 - 12/21/13 @ 01:25
:%s/\(:\d\d\),\(\d\)/\1-\2/g<CR>:%s/\<BS>,,\,<BS><BS>/,/g<CR>:%s/",.*/"/g<CR>:wq<CR>

0 comments

#112 Dmitry / __tweek - Score: 73 - 01/29/14 @ 13:19
jjqq2t"llDj0q@q@@@@@@@@@@@@@@3Gqq2t,lr-j0q@q@@j@@@@@@qq2t,lxjxq6G3t,x:wq<CR>

0 comments

Created by: retired10072015

112 active golfers, 268 entries

Leaderboard (lowest score wins):
22
#1 - Urtica dioica / udioica

11/25/2013 at 09:15PM

22
#2 - John Braxler / braxler

11/26/2013 at 11:25PM

23
#3 - Petro Тrouq / zulolosi

11/26/2013 at 08:20PM

24
#4 - Jon Krause / jkrause314

01/06/2016 at 07:24AM

26
#5 - Kerson Hsiao / KersonHsiao

02/13/2014 at 05:51AM

27
#6 - Andreas Källberg / Anka213

01/17/2014 at 12:46AM

27
#7 - Oddbike / oddbike

02/04/2014 at 09:09PM

27
#8 - Marchand Paul-Valère / pvmarch

03/05/2014 at 09:11PM

27
#9 - Sntano Euhsk / SEuhsk

06/15/2014 at 06:39PM

27
#10 - Jesse Talbutt / FatDrakula

07/20/2014 at 01:31PM

27
#11 - Matthieu Crapet / mcr05

12/13/2014 at 05:29PM

27
#12 - pftb12345 / pftb12345

04/11/2015 at 04:33AM

27
#13 - Dimitar Dimitrov / kurkale6ka

04/19/2016 at 03:50PM

28
#14 - Kai Yuan / kentyuan

11/27/2013 at 11:23AM

28
#15 - Steve Tjoa / stevetjoa

11/29/2013 at 07:37PM

28
#16 - Fetrarijaona Randria / fetrarij

12/11/2013 at 01:22PM

28
#17 - Vernon Grimshaw / Vernon_Grimshaw

12/12/2013 at 10:54PM

28
#18 - fifigyuri / fifigyuri

12/15/2013 at 05:34PM

28
#19 - Eric Potter / pottereric

12/16/2013 at 05:26PM

28
#20 - Jacob Niehus / wilywampa

12/18/2013 at 06:15AM

28
#21 - Joshua Appelman / JoshuaAppelman

12/20/2013 at 08:49PM

28
#22 - chilicuil / chilicuil

12/27/2013 at 10:27AM

28
#23 - Thiago Prado / 5k1pp3r

12/28/2013 at 08:19PM

28
#24 - Yann Moisan / YannMoisan

01/01/2014 at 02:03PM

28
#25 - Roland Schatz / fl_Overmind

01/06/2014 at 01:59PM

28
#26 - grey wolfs / grey_wolfs

02/05/2014 at 04:25AM

28
#27 - Strabs / artistavenue

02/05/2014 at 01:03PM

28
#28 - Amir Kremer / AmirKremer

02/11/2014 at 02:46PM

28
#29 - Pedro Santos / pedrosans

02/14/2014 at 03:27PM

28
#30 - YAMADA Yukimi / edp02

02/23/2014 at 11:12AM

28
#31 - Joonas Pihlajamaa / jokkebk

02/26/2014 at 11:26AM

28
#32 - Jeff / just_geophree

03/30/2014 at 03:20AM

28
#33 - Ram Tamtam / ramtamtamtam

07/08/2014 at 03:05PM

28
#34 - eBrnd / eBrnd

11/03/2014 at 07:49PM

28
#35 - mark0829 / mark0829

02/13/2015 at 12:58AM

28
#36 - Walker Boh / walker_boh

10/16/2015 at 10:52AM

28
#37 - Daniel / Daniel00288663

04/03/2017 at 02:31PM

29
#38 - retired account / retired10072015

11/25/2013 at 08:32PM

29
#39 - moo goo / m00g000

11/27/2013 at 04:23PM

29
#40 - r/standupshots / fuckreddit

12/05/2013 at 06:44AM

29
#41 - Rafael Rendon Pablo / __rendon__

12/17/2013 at 02:53AM

29
#42 - pikaren / REALpikaren

12/21/2013 at 07:30AM

29
#43 - Russ Adams / rustushki

12/21/2013 at 10:07PM

29
#44 - oliver mueller / marcontwit

01/11/2014 at 07:49AM

29
#45 - André / Joschasa

01/22/2014 at 03:25PM

29
#46 - jgpaiva / jgpaiva

01/29/2014 at 07:16PM

29
#47 - Michał Śliwoń / mihcall

01/31/2014 at 09:15AM

29
#48 - harsh / harsh1618

01/31/2014 at 04:55PM

29
#49 - Omer Lachish / rauchy

02/11/2014 at 02:41PM

29
#50 - Kinneret Bot / kinbot

02/11/2014 at 02:54PM

29
#51 - Matthew Draper / _matthewd

02/28/2014 at 03:16PM

29
#52 - Thomas GUILLORY / thomasguillory

03/06/2014 at 01:17PM

29
#53 - John Meisner / jmeisned

06/25/2014 at 10:28PM

30
#54 - Min Ma / Miss0506

11/26/2013 at 10:42AM

30
#55 - Nathan Wallace / nathanmwallace

11/27/2013 at 03:07PM

30
#56 - Michi Loro / michiloro

11/28/2013 at 12:24PM

30
#57 - mnx / mnxx

12/05/2013 at 11:12PM

30
#58 - ichnom / ichnom

12/10/2013 at 10:02PM

30
#59 - JamesT / jamestrinklein

01/30/2014 at 01:47AM

30
#60 - mattsalacain / mattsalacain

01/31/2014 at 10:14PM

30
#61 - cj / cj01101

02/04/2014 at 11:26PM

30
#62 - Nic West / west_nic

06/21/2014 at 12:24PM

30
#63 - ltn614 / ltn614

09/22/2015 at 04:55PM

31
#64 - Alexandros Giouzenis / agiouz

12/06/2013 at 01:14PM

31
#65 - Larry Boltovskoi / larrybolt

12/08/2013 at 12:15AM

31
#66 - James / Dronak

12/09/2013 at 01:12PM

31
#67 - Joshua Tacoma / yellowseed

02/03/2014 at 04:40AM

31
#68 - Guy Rozen / HolyEggplant

02/11/2014 at 02:54PM

31
#69 - Brian Olpin / bolpin

03/28/2014 at 06:03AM

31
#70 - Tj / yrddy

08/19/2014 at 02:46AM

31
#71 - Carlos A Henríquez Q / lagunex

01/18/2015 at 10:57PM

31
#72 - Gerald Tilma / GeraldTilma

10/22/2015 at 02:47AM

32
#73 - Mathieu Larouche / matdube

11/26/2013 at 05:53PM

32
#74 - vansan / VinceVansan

11/27/2013 at 04:06PM

32
#75 - Rob Findley / Rob_Findley

11/30/2013 at 02:54AM

33
#76 - Nathan / NathanHarperoni

11/25/2013 at 10:44PM

33
#77 - fehtrar / fehtrar

11/30/2013 at 03:58AM

33
#78 - Brett Cassette / brettcassette

12/01/2013 at 04:47AM

33
#79 - Sebastian Jensen / gonxed

01/24/2014 at 01:28PM

33
#80 - Jérémy Autran / Aquassaut

01/29/2014 at 02:28PM

33
#81 - Patrick Oscity / der_padde

02/10/2014 at 01:27AM

33
#82 - Felix Boers / felixboers

02/14/2014 at 06:27PM

33
#83 - Jake Eskel / JakeEskel

01/07/2015 at 04:04AM

34
#84 - RobertT / techrt2050

12/15/2013 at 05:15AM

34
#85 - winterlight / winterlight4

12/22/2013 at 02:36PM

34
#86 - Ali El Amine / Allouch95

02/02/2014 at 01:08PM

34
#87 - Marcin Cabaj / marcincabaj

02/11/2014 at 09:53AM

34
#88 - Jeff Parent / jeffparent

05/16/2014 at 07:22PM

37
#89 - Kasper Lauritzen / KPLauritzen

12/15/2013 at 02:43PM

37
#90 - Fake Name / The_Real_User

01/20/2014 at 12:42AM

37
#91 - Pieter Kuijpers / pkuijpers

02/13/2014 at 07:01PM

38
#92 - Edgar Klerks / eklerks

12/18/2013 at 05:26PM

38
#93 - Danny Hyun / Lspacewalker

01/24/2014 at 05:21PM

39
#94 - w1zeman1p / wizemanip

05/17/2014 at 07:58PM

40
#95 - iegorka / iegorka

11/26/2013 at 08:34AM

40
#96 - Felipe Jaramillo F / mrfelipe

04/02/2014 at 10:45PM

41
#97 - WoljaIlpapa / WoljaIlpapa

12/28/2013 at 07:30AM

41
#98 - a / asdfsdafdsfdsaf

01/04/2014 at 02:37AM

41
#99 - Patrick Pitoscia / Patrick03960431

08/05/2014 at 03:00AM

42
#100 - Matthew M. Keeler / keelerm84

02/02/2014 at 05:18AM

44
#101 - Raphael / rnstlr

11/26/2013 at 10:07PM

45
#102 - Endre Galaczi / galacziendre

08/20/2015 at 02:35PM

46
#103 - adamblank / adamblank

12/20/2013 at 07:33PM

46
#104 - Benjamin Williams / benjaminjosephw

01/11/2014 at 07:18PM

47
#105 - Chaitanya Desu / ChaituNu

05/06/2014 at 03:54AM

50
#106 - Brian Peiris / brianpeiris

12/28/2013 at 04:37AM

50
#107 - Christophe de Vienne / cmdevienne

01/01/2014 at 05:12PM

54
#108 - Almog / almog

02/11/2014 at 02:50PM

58
#109 - Dmitry Teslenko / krab_mozga

04/07/2014 at 08:13AM

61
#110 - wilddog64 / chengkai318

12/17/2013 at 03:41PM

63
#111 - Jake Eaton / Jake__Eaton

12/21/2013 at 01:25AM

73
#112 - Dmitry / __tweek

01/29/2014 at 01:19PM