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 127 remaining solutions by signing in and submitting your own entry
#128 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

128 active golfers, 356 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

22
#3 - Peppa Pig / @PeppaPigSg

08/14/2024 at 09:41AM

23
#4 - Petro Тrouq / @zulolosi

11/26/2013 at 08:20PM

23
#5 - Jean George / @JeanGeo20504212

05/12/2022 at 03:40PM

23
#6 - russellzhaomao / @russellzhaomao

06/12/2022 at 12:36PM

23
#7 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 10:33AM

23
#8 - Berel94 / @Berel94

03/30/2024 at 11:31PM

23
#9 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 10:04AM

24
#10 - Jon Krause / @jkrause314

01/06/2016 at 07:24AM

24
#11 - Lory / @Lory46845742

12/20/2019 at 10:08AM

26
#12 - Kerson Hsiao / @KersonHsiao

02/13/2014 at 05:51AM

26
#13 - Chester Yap / @Chest_ErYap

08/11/2019 at 05:20AM

26
#14 - countime / @countime

12/03/2024 at 08:50AM

27
#15 - Andreas Källberg / @Anka213

01/17/2014 at 12:46AM

27
#16 - Oddbike / @oddbike

02/04/2014 at 09:09PM

27
#17 - Marchand Paul-Valère / @pvmarch

03/05/2014 at 09:11PM

27
#18 - Sntano Euhsk / @SEuhsk

06/15/2014 at 06:39PM

27
#19 - Alphonso De La Morte / @FatDrakula

07/20/2014 at 01:31PM

27
#20 - Matt / @mcr05

12/13/2014 at 05:29PM

27
#21 - pftb12345 / @pftb12345

04/11/2015 at 04:33AM

27
#22 - Dimitar Dimitrov / @kurkale6ka

04/19/2016 at 03:50PM

27
#23 - Turkey Man / @lvturkeyman

11/27/2017 at 12:46PM

27
#24 - BarbaJol / @drpproteus

01/11/2018 at 05:02PM

27
#25 - Mihai / @mihaicristiant

03/22/2019 at 10:48AM

27
#26 - Miłosz Łakomy / @foobar01123

07/07/2020 at 11:16AM

28
#27 - Kai Yuan / @kentyuan

11/27/2013 at 11:23AM

28
#28 - Steve Tjoa / @stevetjoa

11/29/2013 at 07:37PM

28
#29 - Fetrarijaona Randria / @fetrarij

12/11/2013 at 01:22PM

28
#30 - Vernon Grimshaw / @Vernon_Grimshaw

12/12/2013 at 10:54PM