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):
10
#91 - MEschenbacher / @eschenbacher_m

11/27/2021 at 11:17PM

10
#92 - Kiran / @kiranprasadk

11/28/2021 at 02:43PM

10
#93 - $HA-|| / @s_k0731

11/30/2021 at 04:58PM

10
#94 - Michael Herring / @mayoroftuesday

12/01/2021 at 05:11PM

11
#95 - mevmev / @mevmev8

09/19/2021 at 07:28PM

11
#96 - Robert Verst / @r_verst

09/21/2021 at 12:51PM

11
#97 - Michel Viktor / @tomkpz

09/22/2021 at 07:25PM

11
#98 - Askhento / @askhento

10/05/2021 at 11:41PM

11
#99 - Salvador Tojo Quintela / @SalvadorTojo

10/08/2021 at 04:17PM

11
#100 - Robert Hendrickson / @RobertH72200659

10/09/2021 at 10:25PM

11
#101 - Steven Langsford / @stevenlangsford

10/10/2021 at 09:40AM

11
#102 - James Houghton / @jamesthoughton

10/12/2021 at 06:22AM

11
#103 - zendokite / @zendokite

10/18/2021 at 10:26AM

11
#104 - rezini mohamed / @rezmed0

10/20/2021 at 02:14PM

11
#105 - Андрей Осипенко / @os1penko_andrey

10/20/2021 at 05:07PM

11
#106 - preethamrn / @preethamrn

10/21/2021 at 07:19AM

11
#107 - r_dev / @dever_42

10/21/2021 at 12:48PM

11
#108 - Johan Arrhen / @JoPeArrhen

10/22/2021 at 07:55PM

11
#109 - Raiden di Rivia / @Raiden_di_Rivia

10/25/2021 at 11:49AM

11
#110 - Matrices Matlab #1 / @matrices_matlab

10/28/2021 at 12:21PM

11
#111 - 6cdh / @cd6cdh

11/01/2021 at 12:32PM

11
#112 - Duncan / @Duncan31503119

11/01/2021 at 08:54PM

11
#113 - introvert / @introve84267133

11/02/2021 at 10:39AM

11
#114 - redraw / @redraw_

11/13/2021 at 02:44AM

11
#115 - TheSemicolon / @the_semicolon_

11/15/2021 at 08:34AM

11
#116 - 深窓の令嬢@百合厨 / @arbino1031

11/18/2021 at 12:30PM

11
#117 - Vladislav Straka / @StrakaVladislav

11/22/2021 at 05:59PM

11
#118 - mehbark / @mehbark

11/28/2021 at 08:08PM

12
#119 - Jonny / @Jonnytron

09/30/2021 at 02:47PM

12
#120 - Tim Varley / @varleti

10/13/2021 at 06:27PM