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 9v00663b9c09000000000271

Evil Numbers

Print the first 100 evil numbers https://oeis.org/A001969. This is an advert for code.golf https://code.golf/evil-numbers#viml

Start file
0
End file
0
3
5
6
9
10
12
15
17
18
20
23
24
27
29
30
33
34
36
39
40
43
45
46
48
51
53
54
57
58
60
63
65
66
68
71
72
75
77
78
80
83
85
86
89
90
92
95
96
99
101
102
105
106
108
111
113
114
116
119
120
123
125
126
129
130
132
135
136
139
141
142
144
147
149
150
153
154
156
159
160
163
165
166
169
170
172
175
177
178
180
183
184
187
189
190
192
195
197
198

View Diff

1a2,100
> 3
> 5
> 6
> 9
> 10
> 12
> 15
> 17
> 18
> 20
> 23
> 24
> 27
> 29
> 30
> 33
> 34
> 36
> 39
> 40
> 43
> 45
> 46
> 48
> 51
> 53
> 54
> 57
> 58
> 60
> 63
> 65
> 66
> 68
> 71
> 72
> 75
> 77
> 78
> 80
> 83
> 85
> 86
> 89
> 90
> 92
> 95
> 96
> 99
> 101
> 102
> 105
> 106
> 108
> 111
> 113
> 114
> 116
> 119
> 120
> 123
> 125
> 126
> 129
> 130
> 132
> 135
> 136
> 139
> 141
> 142
> 144
> 147
> 149
> 150
> 153
> 154
> 156
> 159
> 160
> 163
> 165
> 166
> 169
> 170
> 172
> 175
> 177
> 178
> 180
> 183
> 184
> 187
> 189
> 190
> 192
> 195
> 197
> 198

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 20 remaining solutions by signing in and submitting your own entry
#21 smiech / @smiech - Score: 358 - 06/16/24 @ 22:18
<50-53>0<CR>3<CR>5<CR>6<CR>9<CR>10<CR>12<CR>15<CR>17<CR>18<CR>20<CR>23<CR>24<CR>27<CR>29<CR>30<CR>33<CR>34<CR>36<CR>39<CR>40<CR>43<CR>45<CR>46<CR>48<CR>51<CR>53<CR>54<CR>57<CR>58<CR>60<CR>63<CR>65<CR>66<CR>68<CR>71<CR>72<CR>75<CR>77<CR>78<CR>80<CR>83<CR>85<CR>86<CR>89<CR>90<CR>92<CR>95<CR>96<CR>99<CR>101<CR>102<CR>105<CR>106<CR>108<CR>111<CR>113<CR>114<CR>116<CR>119<CR>120<CR>123<CR>125<CR>126<CR>129<CR>130<CR>132<CR>135<CR>136<CR>139<CR>141<CR>142<CR>144<CR>147<CR>149<CR>150<CR>153<CR>154<CR>156<CR>159<CR>160<CR>163<CR>165<CR>166<CR>169<CR>170<CR>172<CR>175<CR>177<CR>178<CR>180<CR>183<CR>184<CR>187<CR>189<CR>190<CR>192<CR>195<CR>197<CR>198<Esc>[201~<Esc>llx:x<CR>

0 comments


Created by: @wpr____

21 active golfers, 72 entries

Leaderboard (lowest score wins):
25
#1 - wpr__ / @wpr____

05/14/2024 at 12:59AM

25
#2 - John Braxler / @braxler

05/15/2024 at 01:09PM

25
#3 - Jean George / @JeanGeo20504212

05/15/2024 at 03:21PM

25
#4 - Peppa Pig / @PeppaPi95550250

07/09/2024 at 02:25PM

25
#5 - nickGPT / @nickandbro

08/22/2024 at 04:08AM

25
#6 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

09/22/2024 at 12:41PM

49
#7 - Smylers / @Smylers2

05/12/2024 at 07:44PM

49
#8 - Tatum Roaquin / @tatumroaquin

05/20/2024 at 05:42PM

51
#9 - Lennart / @lennartack

05/12/2024 at 10:38AM

52
#10 - Valacar / @valacar

06/07/2024 at 12:28AM

62
#11 - Casey O'Donnell / @CaseyOD15519082

05/12/2024 at 12:29PM

64
#12 - Brian Le / @bkylele

05/10/2024 at 10:45PM

70
#13 - cotarmanach / @cotarmanach

05/12/2024 at 09:00PM

75
#14 - haruto009 / @haruto009

05/27/2024 at 02:05PM

84
#15 - Sander Meij / @SanderMeij

06/05/2024 at 09:55AM

99
#16 - jeffreymrussell / @jeffreymrussell

05/26/2024 at 08:28AM

108
#17 - Adrien Pasquereau / @AdrienPasquereau

06/11/2024 at 05:54PM

123
#18 - rhasarub / @rhasarub

09/09/2024 at 07:53PM

320
#19 - Tomek / @Madghostek

05/20/2024 at 10:20PM

353
#20 - Giacomo Sansone / @pcineverdies

06/25/2024 at 05:55AM

358
#21 - smiech / @smiech

06/16/2024 at 10:18PM