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

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

679 active golfers, 2390 entries

Solutions by @stablestud1:
10
#264 - stablestud / @stablestud1

05/15/2023 at 03:27PM

11
#>393 - stablestud / @stablestud1

05/15/2023 at 03:24PM

12
#>430 - stablestud / @stablestud1

05/15/2023 at 03:14PM

14
#>521 - stablestud / @stablestud1

05/15/2023 at 03:12PM

15
#>539 - stablestud / @stablestud1

05/15/2023 at 03:15PM

16
#>563 - stablestud / @stablestud1

05/15/2023 at 03:11PM

19
#>594 - stablestud / @stablestud1

05/15/2023 at 03:10PM

27
#>626 - stablestud / @stablestud1

04/21/2023 at 11:57PM

159
#>669 - stablestud / @stablestud1

04/21/2023 at 11:53PM