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

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

193 active golfers, 1009 entries

Solutions by @AkeyCoy:
19
#13 - 刘宏亮 / @AkeyCoy

09/25/2022 at 07:00AM

20
#>32 - 刘宏亮 / @AkeyCoy

09/25/2022 at 06:51AM

21
#>52 - 刘宏亮 / @AkeyCoy

09/25/2022 at 06:50AM

22
#>60 - 刘宏亮 / @AkeyCoy

09/25/2022 at 06:45AM

23
#>72 - 刘宏亮 / @AkeyCoy

09/25/2022 at 06:44AM

24
#>75 - 刘宏亮 / @AkeyCoy

09/25/2022 at 06:42AM

26
#>78 - 刘宏亮 / @AkeyCoy

09/25/2022 at 06:41AM

27
#>80 - 刘宏亮 / @AkeyCoy

09/25/2022 at 06:39AM

29
#>83 - 刘宏亮 / @AkeyCoy

09/25/2022 at 06:37AM

30
#>85 - 刘宏亮 / @AkeyCoy

09/25/2022 at 06:36AM

31
#>89 - 刘宏亮 / @AkeyCoy

09/25/2022 at 06:33AM

33
#>95 - 刘宏亮 / @AkeyCoy

09/25/2022 at 05:42AM

34
#>103 - 刘宏亮 / @AkeyCoy

09/25/2022 at 05:36AM

35
#>108 - 刘宏亮 / @AkeyCoy

09/25/2022 at 05:34AM

36
#>117 - 刘宏亮 / @AkeyCoy

09/25/2022 at 05:33AM

37
#>120 - 刘宏亮 / @AkeyCoy

09/25/2022 at 05:30AM

40
#>125 - 刘宏亮 / @AkeyCoy

09/25/2022 at 04:44AM

42
#>129 - 刘宏亮 / @AkeyCoy

09/25/2022 at 04:41AM

87
#>188 - 刘宏亮 / @AkeyCoy

09/25/2022 at 04:24AM