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 527 remaining solutions by signing in and submitting your own entry
#528 Nikita Lezya / @NikitaLezya - Score: 198 - 03/30/22 @ 13:47
<Right>r0o49o<BS><CR>48<CR>3<BS>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>24<BS><BS>34<CR>33<CR>32<CR>31<CR>30<CR>2928<BS><BS><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:w<BS><BS><Esc>:w<CR><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>:q<CR>

0 comments


Created by: @thomasvodrazka

528 active golfers, 1862 entries

Leaderboard (lowest score wins):
10
#211 - Léo / @Leo58369183

08/29/2022 at 07:41AM

10
#212 - SlavWolf / @SlavWolf1

09/03/2022 at 08:42AM

10
#213 - 비비빅 / @bibibig80714274

09/03/2022 at 04:25PM

10
#214 - Ssu-Yuan Cheng / @szuyuan

09/11/2022 at 03:18PM

10
#215 - スー / @suesanjp_dev

09/13/2022 at 05:53AM

10
#216 - Janzen / @__Coos

09/13/2022 at 07:17AM

10
#217 - linestopaper / @linestopaper

09/14/2022 at 04:26AM

10
#218 - Andrew Liu / @AndrewL45936893

09/19/2022 at 04:22AM

10
#219 - Alex Lewin / @_AlexLewin

09/19/2022 at 04:55PM

10
#220 - Eivind Jahren / @HaskellElephant

09/19/2022 at 07:32PM

10
#221 - Austin Willliams / @GuitarMusash616

09/21/2022 at 06:11AM

10
#222 - キムラ・OPEL・ユウジ / @kimurayuuji79

09/30/2022 at 03:30AM

10
#223 - Karan / @Karan22350073

09/30/2022 at 11:02AM

10
#224 - Omar Alawadhi / @OmarAla59544225

10/06/2022 at 09:09PM

10
#225 - Bangash💉💉 / @DevotionGeo

10/08/2022 at 06:54AM

10
#226 - Vinicius Azevedo Pinheiro / @Viniciu42652081

10/10/2022 at 10:23PM

10
#227 - chen chaos / @chenchaos3

10/12/2022 at 04:28AM

10
#228 - Topvimgolf Score / @topvimgolfscore

10/12/2022 at 10:20AM

10
#229 - Andrii Soldatenko / @a_soldatenko

10/17/2022 at 06:00PM

10
#230 - Martin Grumbt / @grumbts

10/23/2022 at 03:02PM

10
#231 - Valtteri Tarvus / @Wote21

10/23/2022 at 05:47PM

10
#232 - limboste / @limboste

10/28/2022 at 04:20AM

10
#233 - Yu SERIZAWA / @upamune

11/11/2022 at 02:33AM

10
#234 - Mario Olofo / @mario_olofo

11/21/2022 at 10:00AM

10
#235 - Lars Winderling / @kaHaleMaKai

11/28/2022 at 08:02PM

10
#236 - qyACvBm9H8 / @QyBm9

12/04/2022 at 01:28AM

10
#237 - Dank City / @ddankcity

12/05/2022 at 04:59PM

10
#238 - Joshua Philpott / @jphil529

12/11/2022 at 08:27AM

10
#239 - yurei / @yurei38667012

12/16/2022 at 01:03PM

10
#240 - Takeru Osoegawa / @taktiks2

12/17/2022 at 02:01AM