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

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

667 active golfers, 2361 entries

Solutions by @IWorkInPixels:
11
#360 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 08:19PM

12
#>414 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 08:15PM

13
#>452 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 08:14PM

14
#>494 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 08:13PM

16
#>542 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 08:01PM

18
#>572 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 08:00PM

22
#>592 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 07:57PM

25
#>596 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 07:55PM

27
#>614 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 07:46PM

29
#>622 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 07:45PM

30
#>626 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 07:44PM

31
#>628 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 07:45PM

31
#>628 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 07:49PM

32
#>629 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 07:41PM

39
#>632 - Tony Sherwood / @IWorkInPixels

03/12/2022 at 07:36PM