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 @poeminlash:

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

185 active golfers, 973 entries

Solutions by @poeminlash:
19
#12 - Qing Liu / @poeminlash

08/13/2022 at 05:04AM

19
#>12 - Qing Liu / @poeminlash

08/13/2022 at 05:08AM

19
#>12 - Qing Liu / @poeminlash

08/13/2022 at 05:09AM

19
#>12 - Qing Liu / @poeminlash

08/13/2022 at 05:12AM

20
#>29 - Qing Liu / @poeminlash

08/13/2022 at 05:03AM

21
#>49 - Qing Liu / @poeminlash

08/13/2022 at 05:02AM

22
#>57 - Qing Liu / @poeminlash

08/13/2022 at 05:02AM

23
#>69 - Qing Liu / @poeminlash

08/13/2022 at 05:02AM

24
#>72 - Qing Liu / @poeminlash

08/13/2022 at 05:01AM

26
#>75 - Qing Liu / @poeminlash

08/13/2022 at 05:01AM

27
#>77 - Qing Liu / @poeminlash

08/13/2022 at 05:00AM

29
#>80 - Qing Liu / @poeminlash

08/13/2022 at 05:00AM

30
#>82 - Qing Liu / @poeminlash

08/13/2022 at 04:59AM

31
#>86 - Qing Liu / @poeminlash

08/13/2022 at 04:59AM

32
#>88 - Qing Liu / @poeminlash

08/13/2022 at 04:58AM

33
#>92 - Qing Liu / @poeminlash

08/13/2022 at 04:58AM

34
#>100 - Qing Liu / @poeminlash

08/13/2022 at 04:57AM

35
#>104 - Qing Liu / @poeminlash

08/13/2022 at 04:57AM

36
#>113 - Qing Liu / @poeminlash

08/13/2022 at 04:56AM

37
#>115 - Qing Liu / @poeminlash

08/13/2022 at 04:56AM

39
#>118 - Qing Liu / @poeminlash

08/13/2022 at 04:55AM

40
#>119 - Qing Liu / @poeminlash

08/13/2022 at 04:53AM

42
#>123 - Qing Liu / @poeminlash

08/13/2022 at 04:52AM

43
#>124 - Qing Liu / @poeminlash

08/13/2022 at 04:51AM