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):
24
#61 - Woojung Kim 김우중 / @_kimwz

07/15/2013 at 10:13AM

26
#62 - Dave Smylie / @davesmylie

02/08/2012 at 03:46AM

26
#63 - Marcin Sza / @coot_

11/26/2012 at 07:15PM

26
#64 - RB / @powerage88

03/24/2014 at 11:22PM

27
#65 - Daumantas / @dbaltrus

05/03/2012 at 02:59AM

27
#66 - Adam McLain / @adammclain

10/03/2013 at 02:20AM

29
#67 - oliver mueller / @marcontwit

02/11/2012 at 08:42AM

29
#68 - pmuston / @pmuston

03/27/2012 at 09:20AM

29
#69 - ぷりケツにるぽ / @nillpo

01/06/2015 at 12:16PM

30
#70 - Kubek2k / @kubek2k

02/12/2012 at 07:35PM

30
#71 - h_east (トロッコ6個) / @h_east

02/26/2012 at 10:07AM

31
#72 - Filip Pettersson / @Zorrriux

03/01/2012 at 09:20PM

31
#73 - Aaron Mueller / @fu86

05/20/2012 at 06:06PM

31
#74 - Quota / @Quotad

02/04/2014 at 01:44PM

31
#75 - Ivo Blöchliger / @aigledesalpes

08/23/2019 at 06:24PM

32
#76 - Arturo Escaip / @arturoescaip

09/01/2013 at 07:57AM

32
#77 - evilmoe ☮ / @evilmoe

11/03/2013 at 10:06AM

33
#78 - veki / @vx_ras

02/03/2012 at 09:50PM

33
#79 - Henri Wiechers / @hwiechers

02/06/2012 at 12:33PM

33
#80 - Steven Moazami / @mong8se

04/03/2012 at 01:31AM

33
#81 - Guirec CORBEL / @GuirecCorbel

04/19/2018 at 09:29AM

34
#82 - Pat Lorton / @patyorton

02/06/2012 at 07:12PM

34
#83 - matthewpeck / @matthewpeck

04/26/2012 at 03:56PM

34
#84 - Chris Thorn / @thorncp

05/01/2012 at 09:17PM

34
#85 - Casey Dwyer / @caseydwyer

11/04/2013 at 07:48AM

34
#86 - Birkir Ólafsson / @Birkirlafsson

07/21/2014 at 10:46PM

34
#87 - Seth Yoder / @McMire315

06/25/2015 at 06:01PM

34
#88 - fucus / @fishlovebanana

09/05/2018 at 08:00AM

35
#89 - Patrick Klingemann / @pklingem

02/03/2012 at 10:18PM

35
#90 - Vasil Sakarov / @vsakarov

02/05/2012 at 01:04PM