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 by @raysden:

Unlock 19 remaining solutions by signing in and submitting your own entry
Created by: @akarzim

168 active golfers, 787 entries

Solutions by @raysden:
20
#25 - Ray Dennis / @raysden

01/06/2021 at 09:47PM

21
#>42 - Ray Dennis / @raysden

01/06/2021 at 09:45PM

22
#>48 - Ray Dennis / @raysden

01/06/2021 at 09:44PM

23
#>60 - Ray Dennis / @raysden

01/06/2021 at 09:43PM

26
#>66 - Ray Dennis / @raysden

01/06/2021 at 09:42PM

28
#>68 - Ray Dennis / @raysden

01/06/2021 at 09:40PM

30
#>73 - Ray Dennis / @raysden

01/06/2021 at 09:39PM

31
#>77 - Ray Dennis / @raysden

01/06/2021 at 09:38PM

32
#>79 - Ray Dennis / @raysden

01/06/2021 at 09:36PM

34
#>90 - Ray Dennis / @raysden

01/06/2021 at 09:35PM

35
#>94 - Ray Dennis / @raysden

01/06/2021 at 09:34PM

37
#>105 - Ray Dennis / @raysden

01/06/2021 at 09:34PM

38
#>105 - Ray Dennis / @raysden

01/06/2021 at 09:30PM

39
#>108 - Ray Dennis / @raysden

01/06/2021 at 09:26PM

40
#>109 - Ray Dennis / @raysden

01/06/2021 at 09:25PM

42
#>113 - Ray Dennis / @raysden

01/06/2021 at 08:17PM

48
#>128 - Ray Dennis / @raysden

01/06/2021 at 08:13PM

52
#>145 - Ray Dennis / @raysden

01/06/2021 at 06:47PM

70
#>162 - Ray Dennis / @raysden

01/06/2021 at 05:25PM