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 by @DimaHorshenin:

Unlock 10 remaining solutions by signing in and submitting your own entry
Created by: @thomasvodrazka

667 active golfers, 2361 entries

Solutions by @DimaHorshenin:
10
#96 - Dima Horshenin / @DimaHorshenin

12/03/2021 at 06:21PM

11
#>346 - Dima Horshenin / @DimaHorshenin

12/03/2021 at 06:20PM

12
#>408 - Dima Horshenin / @DimaHorshenin

12/03/2021 at 06:19PM

13
#>441 - Dima Horshenin / @DimaHorshenin

12/03/2021 at 06:12PM

14
#>486 - Dima Horshenin / @DimaHorshenin

12/03/2021 at 06:11PM

21
#>586 - Dima Horshenin / @DimaHorshenin

12/03/2021 at 06:03PM

28
#>615 - Dima Horshenin / @DimaHorshenin

12/03/2021 at 05:55PM

30
#>624 - Dima Horshenin / @DimaHorshenin

11/28/2021 at 07:21PM

35
#>630 - Dima Horshenin / @DimaHorshenin

11/28/2021 at 07:17PM

38
#>632 - Dima Horshenin / @DimaHorshenin

11/28/2021 at 07:12PM