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):
47
#121 - Christopher Brew / @Seph1rothVII

02/03/2012 at 08:26PM

47
#122 - blamitter ✏️ / @blamitter

02/13/2012 at 03:49PM

47
#123 - koozie / @koozie

02/18/2012 at 08:43PM

47
#124 - Dan Herbert / @pocketninja_au

02/28/2012 at 10:08PM

48
#125 - Per Nissilä / @PerNissila

02/12/2012 at 03:29PM

48
#126 - Alexander Scherbinin / @realmyst

02/13/2012 at 10:44PM

49
#127 - Thijs Brobbel / @tiesmaster

02/03/2012 at 03:05PM

49
#128 - David Sanders / @SandersCD

02/19/2012 at 06:26PM

49
#129 - Matt Holden / @MatthewEvHolden

05/18/2012 at 11:37PM

49
#130 - Alex Pelavin / @Lazzer64

04/06/2016 at 12:32AM

50
#131 - Javier Blanco / @jbgutierrez

02/09/2012 at 09:43PM

50
#132 - Dan Huang / @yuzeh

02/16/2012 at 06:30PM

50
#133 - Chris Penkett / @chrispenkett

04/03/2012 at 04:30PM

50
#134 - Thiago Tasca Nunes / @ttascanunes

04/24/2012 at 02:10AM

50
#135 - Brian Olpin / @bolpin

04/03/2014 at 05:42AM

50
#136 - Ryan van Rensburg / @rdvr001

07/23/2016 at 10:50AM

51
#137 - vimgolf dp / @DpVimgolf

02/03/2012 at 04:20PM

51
#138 - Daniel Lundin / @danielundin

04/27/2012 at 09:31AM

51
#139 - Jez Cope / @jezcope

04/28/2012 at 02:50PM

51
#140 - CoolWebTeacher / @coolwebteacher

05/09/2012 at 09:26PM

51
#141 - Ben Friedland / @bfriedland174

05/24/2012 at 04:34AM

51
#142 - Jordan Scales / @prezjordan

08/18/2012 at 01:58AM

52
#143 - Anthony George / @Xanuthatusu

06/11/2017 at 05:58AM

53
#144 - bsjd / @bsjd

05/07/2012 at 09:14PM

53
#145 - utopiah / @utopiah

06/11/2012 at 09:50AM

54
#146 - James Freed / @JamesTFreed

02/03/2012 at 11:04PM

54
#147 - Omer Lachish / @rauchy

02/18/2012 at 10:02AM

55
#148 - RobertT / @techrt2050

07/26/2013 at 06:36AM

56
#149 - Viktor Jackson / @AntiStalinista

05/05/2012 at 06:23AM

56
#150 - cromac / @cromac

07/10/2012 at 01:54AM