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 564 remaining solutions by signing in and submitting your own entry
#565 Ryan / @Rdgy567889 - Score: 218 - 04/22/23 @ 13:34
i<Right><Right><Right><BS><BS><BS>50<CR>49<CR>28<CR><BS><BS><BS>48<CR><S-F2><BS><BS><BS><BS><BS><BS><BS>47<BS><BS><BS><BS><BS><CR>48<CR>47<CR>46<BS>6<CR>45<CR>44<CR>42<BS>3<CR>42<CR>4<F2>1<BS><BS><BS><BS><BS>1<CR>40<F3><CR><BS><BS><BS><BS><BS><CR>39<CR>38<CR>37<CR>36<CR>35<CR>34*<BS><CR>33<CR>32<CR>31<CR>30<CR>29<CR>38<CR><BS><BS><BS>28<CR>27<CR>26<CR>25<CR>24<CR>23<CR>22<CR>21<CR>20<CR>19<CR>28<CR><BS><BS><BS>18<CR>17<CR>16<CR>15<CR>14<CR>131<BS><CR>12<CR>11<CR>10<CR>9<CR>8<CR>7<CR>6<CR>5<CR>4<CR>3<CR>2<CR>1<CR><BS><Esc>/<BS><Esc>:<<BS>wq<CR>

0 comments


Created by: @thomasvodrazka

565 active golfers, 1986 entries

Leaderboard (lowest score wins):
17
#481 - mebuh / @mebuh42

03/22/2022 at 08:38PM

17
#482 - Milan Gunasekera / @GunasekeraMilan

03/30/2022 at 07:03AM

17
#483 - Alan Rezende πŸ”₯ Full Stack Developer / @alanrezende

04/29/2022 at 04:38PM

17
#484 - け぀ / @ketsumashu

06/26/2022 at 01:15PM

17
#485 - Siddharth Murali / @SidTweetsALess

06/27/2022 at 10:35AM

17
#486 - ztt / @ztt97852683

11/18/2022 at 07:04AM

17
#487 - Vinay Sridhar / @kewllip

03/11/2023 at 05:53PM

18
#488 - Srijan Joshi / @gamerboy1214

10/22/2021 at 04:44AM

18
#489 - arend-jan oosterveld / @ajoosterveld

10/25/2021 at 08:25AM

18
#490 - ν˜Έλ„λ₯΄ / @Hodoor12

11/19/2021 at 03:53AM

18
#491 - Alex Meredith / @alex_meredith

05/06/2022 at 02:23PM

19
#492 - Cozy Codeur / @CozyCodeur

10/13/2021 at 07:44AM

19
#493 - betstamp / @betstamp

10/22/2021 at 03:14AM

19
#494 - rakshith πŸ¦„ / @rakshithbellare

12/26/2021 at 01:48PM

19
#495 - Ryan Murphy / @RyanMur92693753

03/12/2022 at 08:33PM

19
#496 - Nils Melchert / @NilsMelchert

03/14/2022 at 02:38PM

19
#497 - tapio / @gncnaxb

04/17/2022 at 03:23PM

19
#498 - Sikander βš™οΈβ›“ / @sikanderlhote

05/18/2022 at 11:56AM

19
#499 - Thomas Hiron / @thomashiron

02/20/2023 at 11:00AM

20
#500 - 盧小小 / @VegetaLu

04/01/2022 at 05:05PM

21
#501 - Vitalii / @Pan_Aeon

10/17/2021 at 03:40PM

21
#502 - sean.yang / @seanyangc

01/17/2022 at 08:16AM

21
#503 - Niklas Gustafson / @GustafsonNiklas

02/26/2022 at 08:44PM

21
#504 - Leonard Bereska / @LeonardBereska

03/05/2023 at 07:33AM

22
#505 - Yair Frid / @yairfrid_

01/19/2022 at 10:18PM

23
#506 - p / @Ytg6M

03/25/2022 at 07:42AM

24
#507 - ace_of_art_club / @aceofartclub1

01/18/2022 at 02:05PM

24
#508 - Soti / @Soti444

04/04/2022 at 07:13PM

25
#509 - Even Wei / @evenwei59

03/17/2022 at 07:42AM

25
#510 - Il Granfiatore / @M_Klauer

04/05/2022 at 06:09AM