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

hello-world-vimgolf

Simple number generation

Start file
51
End file
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1

View Diff

1c1,50
< 51
---
> 50
> 49
> 48
> 47
> 46
> 45
> 44
> 43
> 42
> 41
> 40
> 39
> 38
> 37
> 36
> 35
> 34
> 33
> 32
> 31
> 30
> 29
> 28
> 27
> 26
> 25
> 24
> 23
> 22
> 21
> 20
> 19
> 18
> 17
> 16
> 15
> 14
> 13
> 12
> 11
> 10
> 9
> 8
> 7
> 6
> 5
> 4
> 3
> 2
> 1

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 508 remaining solutions by signing in and submitting your own entry
#509 Nikita Lezya / @NikitaLezya - Score: 198 - 03/30/22 @ 13:47
<Right>r0o49o<BS><CR>48<CR>3<BS>47<CR>46<CR>45<CR>44<CR>43<CR>42<CR>41<CR>40<CR>39<CR>38<CR>37<CR>36<CR>35<CR>24<BS><BS>34<CR>33<CR>32<CR>31<CR>30<CR>2928<BS><BS><CR>28<CR>27<CR>26<CR>25<CR>24<CR>23<CR>22<CR>21<CR>20<CR>19<CR>18<CR>17<CR>16<CR>15<CR>14<CR>13<CR>12<CR>11<CR>10<CR>9<CR>8<CR>7<CR>6<CR>5<CR>4<CR>3<CR>2<CR>1:w<BS><BS><Esc>:w<CR><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>:q<CR>

0 comments


Created by: @thomasvodrazka

509 active golfers, 1768 entries

Leaderboard (lowest score wins):
11
#271 - Felix Linhardt / @FelixLinhardt

02/17/2022 at 10:05AM

11
#272 - Ofer Yehuda / @OferYehuda

02/19/2022 at 01:49PM

11
#273 - 小柠檬 / @litt_lemon

03/05/2022 at 05:31AM

11
#274 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 08:19PM

11
#275 - FLeckami / @FLeckami

03/13/2022 at 01:20PM

11
#276 - Ramtin Martin / @martin_ramtin

03/21/2022 at 11:36PM

11
#277 - Anthony Asp / @AnthonyAsp3

03/23/2022 at 06:36PM

11
#278 - Sreeram Vennam / @vnnm404

04/01/2022 at 11:14AM

11
#279 - Haizn Scie🔞 / @champemunasong

04/09/2022 at 01:25PM

11
#280 - fedja golf / @fedjagolf

04/11/2022 at 12:14PM

11
#281 - sapir malka / @sapir5522

04/25/2022 at 02:21PM

11
#282 - sdfghjk / @sdfghjk88424595

04/27/2022 at 06:39AM

11
#283 - Youssef Magdy / @youssef_magdy29

04/28/2022 at 02:36AM

11
#284 - Justin Sane / @Here4Vimgolf

05/10/2022 at 07:47PM

11
#285 - x03n046 / @x03n046

05/12/2022 at 01:14AM

11
#286 - Nicolas Kreutzer / @NigiCereal

05/19/2022 at 06:52PM

11
#287 - YaruCar / @yaru_car

05/26/2022 at 02:11PM

11
#288 - Kwizer / @kwizer

05/29/2022 at 10:24AM

11
#289 - Orsós Ádám / @adamspindle

06/17/2022 at 10:53AM

11
#290 - Eric Guo / @Euclideant

06/19/2022 at 12:33PM

11
#291 - Дмитрий Инютин / @DmitrijInutin

06/28/2022 at 11:16AM

11
#292 - electronjunkie / @electronjunkie

07/15/2022 at 02:54PM

11
#293 - satetheus-vimgolf / @SVimgolf

07/18/2022 at 05:25AM

11
#294 - Sarang Khim / @sarang_khim

07/27/2022 at 08:10AM

11
#295 - xvczuwo / @xvczuwoa

08/06/2022 at 10:20AM

11
#296 - z00master / @z00master

08/10/2022 at 05:26PM

11
#297 - Ratkovszki István / @RatkovszkiIstvn

09/08/2022 at 09:14PM

11
#298 - vimgolfaccfekxh / @vimgolfaccfekxh

10/19/2022 at 09:53PM

11
#299 - vuems / @vuems2win

11/16/2022 at 03:40PM

11
#300 - mindgitrwx / @mindgitrwx

11/28/2022 at 10:33AM