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

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 187 remaining solutions by signing in and submitting your own entry
#188 唐毓謙 / @tonygooseduck - Score: 269 - 11/02/21 @ 05:06
lr0o49<CR>48<CR>47<CR>46<CR>45<CR>44<CR>43<CR>42<CR>41<CR>40<CR>39<CR>38<CR>37<CR>36<CR>35<CR>34<CR>33<CR>32<CR>31<CR>30<CR>29<CR>28<CR>27<CR>26<CR>25<CR>24<CR>23<CR>22<CR>21<CR>20<CR>19<CR>18<CR>17<CR>16<CR>15<CR>14<CR>13<CR>12<CR>11<CR>10<CR>9<CR>8<CR>7<CR>6<CR>5<CR>4<CR>3<CR>2<CR>1<Esc><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><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><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>:q<CR>:wq<CR>

0 comments


Created by: @thomasvodrazka

188 active golfers, 606 entries

Leaderboard (lowest score wins):
12
#121 - Ahmet Bombaci / @ahmetbombaci

10/14/2021 at 04:20PM

12
#122 - Maorun / @Maorun11

10/20/2021 at 08:00AM

12
#123 - Ssu-Yuan Cheng / @szuyuan

10/30/2021 at 10:30PM

12
#124 - あああ / @kVaY5ghuwn6J11E

11/02/2021 at 09:01AM

12
#125 - J Berc / @Jberczel

11/05/2021 at 11:54PM

12
#126 - Dendy / @Dendy7h

11/15/2021 at 07:52PM

12
#127 - Chris Niekel / @vimgolfer534529

11/20/2021 at 10:58AM

12
#128 - dolfin1107 / @dolfin1107

11/30/2021 at 08:40PM

13
#129 - Thomas Vodrazka / @thomasvodrazka

09/19/2021 at 06:25PM

13
#130 - dboso / @dboso90

09/20/2021 at 02:10PM

13
#131 - Brogan / @Brogan79363502

09/20/2021 at 09:31PM

13
#132 - Kshitiz Mandal / @xitizmandal

09/21/2021 at 05:46PM

13
#133 - miko417 / @mikeo404

09/27/2021 at 07:51AM

13
#134 - Andrew Butters / @AndrewButters10

09/30/2021 at 08:01PM

13
#135 - wandering sol / @SunReyE

10/02/2021 at 05:55AM

13
#136 - :wq / @write_quit_22

10/04/2021 at 01:59PM

13
#137 - Askhento / @Askhento1

10/05/2021 at 11:35PM

13
#138 - RandomAveragePlayer / @RandomVimUser

10/11/2021 at 04:40PM

13
#139 - леди питон / @SofiaLadyPython

10/24/2021 at 11:38PM

13
#140 - Enrique Santana / @esantanaya

11/15/2021 at 03:28AM

13
#141 - WhyIsThisFishInMyEar / @why_ear

11/20/2021 at 10:37AM

14
#142 - Saurav / @ray__saurav

09/23/2021 at 06:14AM

14
#143 - ever0de / @ever0de

09/24/2021 at 01:50AM

14
#144 - Andy Novocin / @AndyNovocin

09/24/2021 at 09:10PM

14
#145 - NotANorthernGay / @notanortherngay

09/25/2021 at 11:55AM

14
#146 - ░C░o░o░p░e░r░ ░L░u░c░e░ / @16cluce

09/28/2021 at 10:55PM

14
#147 - Fishery Agency / @fishsouprecipe

09/30/2021 at 05:44PM

14
#148 - Gordon / @gordonbourdain

10/07/2021 at 03:02PM

14
#149 - z_r_a / @z_r_a

10/10/2021 at 07:48AM

14
#150 - v3rse / @NanaOAdane

10/12/2021 at 09:20PM