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 9v006a5b28cf00000000082b

Even and Odd

separate the even numbers from the odd numbers

Start file
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99

End file
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99

View Diff

1,101c1,2
< 0
< 1
< 2
< 3
< 4
< 5
< 6
< 7
< 8
< 9
< 10
< 11
< 12
< 13
< 14
< 15
< 16
< 17
< 18
< 19
< 20
< 21
< 22
< 23
< 24
< 25
< 26
< 27
< 28
< 29
< 30
< 31
< 32
< 33
< 34
< 35
< 36
< 37
< 38
< 39
< 40
< 41
< 42
< 43
< 44
< 45
< 46
< 47
< 48
< 49
< 50
< 51
< 52
< 53
< 54
< 55
< 56
< 57
< 58
< 59
< 60
< 61
< 62
< 63
< 64
< 65
< 66
< 67
< 68
< 69
< 70
< 71
< 72
< 73
< 74
< 75
< 76
< 77
< 78
< 79
< 80
< 81
< 82
< 83
< 84
< 85
< 86
< 87
< 88
< 89
< 90
< 91
< 92
< 93
< 94
< 95
< 96
< 97
< 98
< 99
< 
---
> 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98
> 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 99 remaining solutions by signing in and submitting your own entry
#100 LukasWu / @StupitDragon - Score: 145 - 10/20/26 @ 08:57
<Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up>:v/[]<Left>02468<Right>$/m$<CR>ggv/^1#<BS>%<BS>$<CR>k2<BS>j<BS>J<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><CR>/^1#<BS>$<CR>kJ<CR>gg/^1#<BS>$<CR>kJjVGJ:wq<CR>

0 comments


Created by: @wpr____

100 active golfers, 389 entries

Leaderboard (lowest score wins):
49
#91 - Sandy1796ii / @Sandy1796ii

10/31/2026 at 03:58PM

54
#92 - ThreadDesolated / @ThreadDesolated

10/10/2026 at 12:16PM

56
#93 - gravestench / @gravestench

09/08/2026 at 08:26AM

59
#94 - Maksim / @maxonkart0n

10/30/2026 at 01:27PM

62
#95 - Noitidart / @Noitidart

08/17/2026 at 06:26PM

62
#96 - Kim SungEun / @kse8425

10/08/2026 at 07:59AM

64
#97 - slawkor / @slawkor

09/13/2026 at 06:23PM

65
#98 - Simona Barnášová / @simabar

10/06/2026 at 10:06AM

89
#99 - 孙一飞 / @RuiGcostaOD

10/29/2026 at 10:33AM

145
#100 - LukasWu / @StupitDragon

10/20/2026 at 08:57AM