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 4f2be242779cbc000100000c

Ugly spreadsheet copy/paste to CSV

convert an ugly spreadsheet copy/paste into a CSV format.

Start file
TIANJIN
DALIAN
HUANGPU
NINGBO
QINGDAO
SHANGHAI
SHANTOU
SHENZHEN
WUHAN
HONG KONG
HAIPHONG

885
885
910
860
885
860
1080
860
1040
860
935

1585
1585
1635
1535
1585
1535
1885
1535
1860
1535
1795

1710
1710
1760
1660
1610
1660
2010
1660
1985
1660
1920
End file
TIANJIN,885,1585,1710
DALIAN,885,1585,1710
HUANGPU,910,1635,1760
NINGBO,860,1535,1660
QINGDAO,885,1585,1610
SHANGHAI,860,1535,1660
SHANTOU,1080,1885,2010
SHENZHEN,860,1535,1660
WUHAN,1040,1860,1985
HONG KONG,860,1535,1660
HAIPHONG,935,1795,1920

View Diff

1,47c1,11
< TIANJIN
< DALIAN
< HUANGPU
< NINGBO
< QINGDAO
< SHANGHAI
< SHANTOU
< SHENZHEN
< WUHAN
< HONG KONG
< HAIPHONG
< 
< 885
< 885
< 910
< 860
< 885
< 860
< 1080
< 860
< 1040
< 860
< 935
< 
< 1585
< 1585
< 1635
< 1535
< 1585
< 1535
< 1885
< 1535
< 1860
< 1535
< 1795
< 
< 1710
< 1710
< 1760
< 1660
< 1610
< 1660
< 2010
< 1660
< 1985
< 1660
< 1920
---
> TIANJIN,885,1585,1710
> DALIAN,885,1585,1710
> HUANGPU,910,1635,1760
> NINGBO,860,1535,1660
> QINGDAO,885,1585,1610
> SHANGHAI,860,1535,1660
> SHANTOU,1080,1885,2010
> SHENZHEN,860,1535,1660
> WUHAN,1040,1860,1985
> HONG KONG,860,1535,1660
> HAIPHONG,935,1795,1920

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 165 remaining solutions by signing in and submitting your own entry
#166 Poojalakshmi / @spoojalakshmi - Score: 337 - 03/23/12 @ 15:10
<Esc>l13<Esc>f13<Esc><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Left><Left> <Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Right><Right><Right><Right><Right><Right><Right>i<Right>,885,1585,1710<Down>,885,1585,1710<Down>,910,1635,1760<Down>,860,1535,1535<Down>.<BS>,885,1585,1610<Down>,860,1535,1535<Down>1080<Left><Left><Left><Left>,<Right><Right><Right><Right>,1080<BS><BS><BS><BS>1885,<Up><Up><Up><Left><Del><Del><Del>660<Down><Down><Left><Del><Del><Del>660<Down>v<BS>2010<Down>.<BS>,860,1535,1660<Down>,1040,18601985<Left><Left><Left><Left>,<Down>,860,1535,1660<Down>,935,1795,1920<Down><Esc>dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd<Esc>:wq<CR>

0 comments


Created by: @akarzim

166 active golfers, 747 entries

Leaderboard (lowest score wins):
35
#91 - Zach Kelling / @zeekay

04/07/2012 at 06:14PM

35
#92 - shutl_test / @shutl_test

06/08/2012 at 01:10PM

36
#93 - Víctor Pimentel / @VictorPimentel

02/05/2012 at 01:47AM

36
#94 - 無ん垢の叫び / @john_ababa

02/29/2012 at 08:30AM

36
#95 - Peter Anselmo / @peter_anselmo

03/02/2012 at 04:45PM

36
#96 - Øystein Walle / @oysteinwalle

05/31/2012 at 06:55PM

36
#97 - Raúl Jara / @rauljara

07/08/2012 at 06:05PM

36
#98 - Glen / @Glen_S

07/24/2012 at 03:26AM

36
#99 - mnx / @mnxx

10/15/2014 at 11:43AM

36
#100 - Adrien Fabre / @statox42

05/26/2015 at 10:01PM

36
#101 - Gurukandhamoorthi / @Gurukandhamoor1

07/15/2017 at 05:31PM

37
#102 - Hachez Floran / @FloranHachez

09/05/2013 at 11:42AM

37
#103 - Robin Ramael / @RobinRamael

05/30/2016 at 10:03AM

39
#104 - brett / @brettyukich

09/23/2013 at 04:28AM

39
#105 - Ram Tamtam / @ramtamtamtam

07/18/2014 at 01:20PM

39
#106 - Solomon / @Trugbildjaeger

04/01/2017 at 04:42PM

40
#107 - pikaren / @REALpikaren

01/12/2014 at 09:11AM

42
#108 - Kurt Gaastra / @KGaastra

02/10/2012 at 10:39PM

42
#109 - Toto l'haricot / @nico_le_terribl

04/15/2012 at 12:56AM

42
#110 - James / @Dronak

09/25/2014 at 08:50PM

42
#111 - Jurica / @Jurica34581259

11/20/2018 at 10:04PM

43
#112 - prince ducaca / @prince_du_caca

09/26/2018 at 10:50PM

44
#113 - learninghang / @learninghang

04/14/2012 at 04:10AM

44
#114 - jDeveloper / @jDevEE

04/22/2012 at 10:28PM

44
#115 - cj / @cj01101

08/08/2013 at 09:16PM

44
#116 - ltn614 / @ltn614

09/22/2015 at 04:09PM

45
#117 - Oliver Christ / @0liverChrist

10/04/2013 at 01:58PM

46
#118 - Petr Kovar / @pejugo

02/06/2012 at 11:08AM

46
#119 - Evgeny Persienko / @zzazab

05/18/2012 at 08:33AM

46
#120 - Remus Dalrymple / @bornintheflames

05/07/2017 at 11:56PM