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

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

193 active golfers, 1009 entries

Solutions by @russellzhaomao:
19
#11 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:38AM

19
#>11 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:42AM

20
#>31 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:35AM

21
#>52 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:34AM

22
#>60 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:34AM

23
#>72 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:32AM

27
#>80 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:31AM

29
#>83 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:30AM

30
#>85 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:29AM

31
#>89 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:04AM

33
#>95 - russellzhaomao / @russellzhaomao

06/06/2022 at 01:03AM

34
#>103 - russellzhaomao / @russellzhaomao

06/06/2022 at 12:59AM

35
#>108 - russellzhaomao / @russellzhaomao

06/06/2022 at 12:58AM

37
#>120 - russellzhaomao / @russellzhaomao

06/06/2022 at 12:52AM

40
#>125 - russellzhaomao / @russellzhaomao

06/06/2022 at 12:44AM

43
#>130 - russellzhaomao / @russellzhaomao

06/06/2022 at 12:42AM

44
#>134 - russellzhaomao / @russellzhaomao

06/06/2022 at 12:37AM

45
#>135 - russellzhaomao / @russellzhaomao

06/06/2022 at 12:35AM

47
#>141 - russellzhaomao / @russellzhaomao

06/06/2022 at 12:31AM

53
#>167 - russellzhaomao / @russellzhaomao

06/06/2022 at 12:27AM

54
#>169 - russellzhaomao / @russellzhaomao

06/05/2022 at 01:29PM

57
#>173 - russellzhaomao / @russellzhaomao

06/05/2022 at 01:27PM

82
#>188 - russellzhaomao / @russellzhaomao

06/05/2022 at 01:20PM