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

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

708 active golfers, 2499 entries

Solutions by @pseudohommels:
10
#63 - Hommels / @pseudohommels

10/25/2021 at 11:04PM

11
#>357 - Hommels / @pseudohommels

10/25/2021 at 10:54PM

12
#>429 - Hommels / @pseudohommels

10/25/2021 at 10:46PM

13
#>465 - Hommels / @pseudohommels

10/25/2021 at 10:42PM

14
#>512 - Hommels / @pseudohommels

10/25/2021 at 10:38PM

15
#>550 - Hommels / @pseudohommels

10/25/2021 at 10:34PM

17
#>594 - Hommels / @pseudohommels

10/25/2021 at 10:28PM

26
#>645 - Hommels / @pseudohommels

10/25/2021 at 10:15PM

29
#>660 - Hommels / @pseudohommels

10/25/2021 at 10:13PM

33
#>668 - Hommels / @pseudohommels

10/25/2021 at 10:12PM

36
#>672 - Hommels / @pseudohommels

10/25/2021 at 10:09PM