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):
21
#31 - Tibor Claassen / @codebeige

05/01/2012 at 12:51PM

21
#32 - Sebastian Kusnier / @skusnier

05/04/2012 at 10:15PM

21
#33 - Federico Galassi / @federicogalassi

05/05/2012 at 09:01AM

21
#34 - Jiří Chára / @JiriChara

05/07/2012 at 08:09PM

21
#35 - Sergey / @sav86

05/13/2012 at 10:36PM

21
#36 - Benoit Mortgat / @Benoit_Mortgat

06/06/2012 at 07:13PM

21
#37 - Dragan Cvetinovic / @kawkafi

07/10/2012 at 10:16PM

21
#38 - Felix Fischer / @felixfischer

02/02/2014 at 03:35PM

21
#39 - Konrad / @zichul

03/08/2014 at 11:35AM

21
#40 - Oli Lalonde / @o_lalonde

01/11/2015 at 04:11PM

22
#41 - Grigoriy Glushko / @grinderrz

02/17/2012 at 05:50PM

22
#42 - not so punk :] / @notsopunk

03/31/2012 at 04:11AM

22
#43 - Rod Knowlton / @codelahoma

04/24/2012 at 05:54PM

22
#44 - Bradd Szonye / @bszonye

07/13/2013 at 01:27PM

22
#45 - Jon Krause / @jkrause314

01/08/2016 at 04:12AM

22
#46 - jj johnson / @jcassj1

08/24/2016 at 03:52PM

23
#47 - Pei-Lun Lee / @ypcatw

02/04/2012 at 06:23AM

23
#48 - Tesnorth / @Tesnorth

02/04/2012 at 01:53PM

23
#49 - Abdel Said / @abdelsaid

02/04/2012 at 11:27PM

23
#50 - Jaime A. Sánchez / @jashbeta

02/05/2012 at 07:38PM

23
#51 - sidyll / @sidyll

02/10/2012 at 05:45PM

23
#52 - Aaron Massey / @akmassey

03/01/2012 at 09:36PM

23
#53 - John Anderson / @opejn

03/17/2012 at 05:35PM

23
#54 - Nolen Royalty / @NolenRoyalty

04/27/2012 at 03:16AM

23
#55 - Chris Brown / @engineercyb

08/02/2012 at 05:39PM

23
#56 - US Dollar Price / @USDollarPrice

11/04/2013 at 09:55PM

23
#57 - Joonas Pihlajamaa / @jokkebk

02/20/2014 at 12:07PM

23
#58 - mark0829 / @mark0829

03/06/2015 at 01:39PM

24
#59 - Markus / @markus1189

04/19/2012 at 03:18PM

24
#60 - Benjamin Hitov / @benhitov

05/21/2012 at 10:21AM