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 50 remaining solutions by signing in and submitting your own entry
#51 Noitidart / @Noitidart - Score: 62 - 08/17/26 @ 18:26
:%d<CR>:put =join(range(0,98,2))<CR>:put =join(range(1,99,2))<CR>kkddZZ

0 comments


Created by: @wpr____

51 active golfers, 233 entries

Leaderboard (lowest score wins):
20
#31 - Matthew Collier / @Squaresweets

09/09/2026 at 10:31PM

21
#32 - Andrew / @fr0streaper

08/24/2026 at 04:51PM

21
#33 - Anako Jeannin-Mallet / @anakojm

08/28/2026 at 07:23PM

22
#34 - Alexis Corporal / @Alexis12119

07/26/2026 at 01:49PM

22
#35 - astrorobot110 / @astrorobot110

08/29/2026 at 12:46PM

29
#36 - matthias2314 / @matthias2314

08/09/2026 at 01:54AM

29
#37 - Coulton Theuer / @theuerc

08/26/2026 at 11:56PM

30
#38 - Aman Singh / @amansingh909

08/07/2026 at 05:19AM

30
#39 - Nıklas Rıeken / @ttnick

09/12/2026 at 01:10PM

31
#40 - Nathan Heavner / @nathan_heavner

08/01/2026 at 11:56PM

32
#41 - Hadi Elnemr / @HadiElnemr

08/06/2026 at 11:32AM

32
#42 - Ayush Rohilla / @ayrmoney

08/24/2026 at 06:22AM

33
#43 - Erick / @Flowever2626

08/06/2026 at 09:40AM

33
#44 - ceadvat / @ceadvat

08/14/2026 at 04:39AM

34
#45 - Takemura Ryoken / @tkmrrkn

07/26/2026 at 02:14PM

34
#46 - Jason Crosthwaite / @jasoncros

09/08/2026 at 05:21PM

36
#47 - Monrath / @Monraths

08/07/2026 at 06:16PM

39
#48 - StefanStanisor / @StefanStanisor

09/07/2026 at 01:25PM

39
#49 - petr-kx / @petr-kx

09/11/2026 at 11:54AM

56
#50 - gravestench / @gravestench

09/08/2026 at 08:26AM

62
#51 - Noitidart / @Noitidart

08/17/2026 at 06:26PM