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

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

436 active golfers, 1523 entries

Solutions by @alanrezende:
17
#373 - Alan Rezende 🔥 Full Stack Developer / @alanrezende

04/29/2022 at 04:38PM

25
#>396 - Alan Rezende 🔥 Full Stack Developer / @alanrezende

04/29/2022 at 04:31PM

27
#>405 - Alan Rezende 🔥 Full Stack Developer / @alanrezende

04/29/2022 at 04:25PM

27
#>405 - Alan Rezende 🔥 Full Stack Developer / @alanrezende

04/29/2022 at 04:30PM

28
#>408 - Alan Rezende 🔥 Full Stack Developer / @alanrezende

04/29/2022 at 04:22PM

33
#>414 - Alan Rezende 🔥 Full Stack Developer / @alanrezende

04/29/2022 at 04:17PM

34
#>414 - Alan Rezende 🔥 Full Stack Developer / @alanrezende

04/29/2022 at 04:14PM

34
#>414 - Alan Rezende 🔥 Full Stack Developer / @alanrezende

04/29/2022 at 04:16PM

74
#>422 - Alan Rezende 🔥 Full Stack Developer / @alanrezende

04/29/2022 at 04:10PM