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 253 remaining solutions by signing in and submitting your own entry
#254 唐毓謙 / @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

254 active golfers, 856 entries

Leaderboard (lowest score wins):
13
#181 - :wq / @write_quit_22

10/04/2021 at 01:59PM

13
#182 - Askhento / @Askhento1

10/05/2021 at 11:35PM

13
#183 - RandomAveragePlayer / @RandomVimUser

10/11/2021 at 04:40PM

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

10/24/2021 at 11:38PM

13
#185 - Enrique Santana / @esantanaya

11/15/2021 at 03:28AM

13
#186 - WhyIsThisFishInMyEar / @why_ear

11/20/2021 at 10:37AM

13
#187 - Shrutesh Patil / @patil_shrutesh

12/02/2021 at 09:04PM

13
#188 - tzvitzer / @tzvitzer1

12/21/2021 at 04:19PM

13
#189 - Gim Volfer / @GimVolfer

12/22/2021 at 05:14PM

13
#190 - Emiliano Pérez / @emiperez95

12/31/2021 at 03:54PM

13
#191 - Erik Öjebo / @erikojebo

01/22/2022 at 09:44PM

14
#192 - Saurav / @ray__saurav

09/23/2021 at 06:14AM

14
#193 - ever0de / @ever0de

09/24/2021 at 01:50AM

14
#194 - Andy Novocin / @AndyNovocin

09/24/2021 at 09:10PM

14
#195 - NotANorthernGay / @notanortherngay

09/25/2021 at 11:55AM

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

09/28/2021 at 10:55PM

14
#197 - Fishery Agency / @fishsouprecipe

09/30/2021 at 05:44PM

14
#198 - Gordon / @gordonbourdain

10/07/2021 at 03:02PM

14
#199 - z_r_a / @z_r_a

10/10/2021 at 07:48AM

14
#200 - v3rse / @NanaOAdane

10/12/2021 at 09:20PM

14
#201 - John Other / @john_other

10/24/2021 at 01:59AM

14
#202 - David Cherednik / @david_cherednik

10/24/2021 at 07:39PM

14
#203 - pmnord / @pmnord

11/01/2021 at 03:50PM

14
#204 - Eric Söderström / @eksoderstrom

11/04/2021 at 05:47PM

14
#205 - Jon Powers / @JonKPowers

11/06/2021 at 04:20AM

14
#206 - Sergio / @SergioVl12

11/28/2021 at 05:15PM

14
#207 - Christopher Williams / @chrstphrsnw

12/06/2021 at 10:36PM

14
#208 - Nougatine Naja / @NougatineNaja

12/28/2021 at 12:19PM

14
#209 - Yassine Deghaies / @MDeghaies

01/01/2022 at 04:48AM

14
#210 - thevimgolfer / @thevimgolfer

01/05/2022 at 05:39PM