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 644 remaining solutions by signing in and submitting your own entry
#645 Clyde Tony / @ClydeTony1 - Score: 491 - 09/21/23 @ 12:21
la<BS>0<Esc>0vlypuo<Esc>ppujo<CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><Esc>kggjjpjpjpjpjpjpjpjpuuuuuuuuuui<CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><CR><Esc>kggji49<Esc>hvlyjpjpjpjpjpjpjpjp<Esc>la<BS>1<Esc>jpa<BS>0<Esc>kkla<BS>2<Esc>lkla<BS>3<Esc>kla<BS>4<Esc>kla<BS>5<Esc>kla<BS>6<Esc>kla<BS>7<Esc>kla<BS>8<Esc>kljjjjjjjjjhji39<Esc>hvlyjpjpjpjpjpjpjpjpjp<Esc>kja<BS>0<Esc>klr1kr2kr3kr4kr5kr6kr7kr8jjjjjjjjjjjkki29<Esc>hvlyjjpkpjjjpkpjjpjpjpjpjpr0kr1kr2kr3kr4kr5kr6kr7kr832ggi19<Esc>hvlyjpjpr7kr8jjpr6jpr5jpr4jpr3jpr2jpr1jpr0ji9<CR>8<CR>7<CR>6<CR>5<CR>4<CR>3<CR>2<CR>1<CR><Esc>jjjjjjjjjjjjddddddddddddddddddkkkkkkkkkkkkkkgg:wq<CR>

0 comments


Created by: @thomasvodrazka

645 active golfers, 2287 entries

Leaderboard (lowest score wins):
14
#481 - Branimir Mirčetić / @BranimirMireti1

05/11/2022 at 09:45PM

14
#482 - ccorvi / @ccorvi1

05/17/2022 at 09:34AM

14
#483 - steve / @steve35773420

05/22/2022 at 09:53PM

14
#484 - andro wei / @androwei1

05/24/2022 at 11:01AM

14
#485 - Pablo R. Dinella / @pablordinella

05/24/2022 at 11:57PM

14
#486 - yann / @ylsarto

06/20/2022 at 06:30AM

14
#487 - LEYO 💻 - Dev / @leoroullois

07/05/2022 at 09:42PM

14
#488 - Andy Tso / @AndyTso7

07/11/2022 at 02:00AM

14
#489 - cqjxx / @cqjxx1

07/18/2022 at 01:38PM

14
#490 - Abdelrahman Madkour / @A3Madkour

08/20/2022 at 08:32PM

14
#491 - K.Takao / @kit_tko

09/16/2022 at 02:01PM

14
#492 - Drakkir / @iamDrakkir

01/02/2023 at 12:26PM

14
#493 - vladanscy / @vladanscy

02/04/2023 at 12:29PM

14
#494 - かみひろ / @km_hr

02/18/2023 at 06:52AM

14
#495 - c.y.k.sagar / @x95ych

04/16/2023 at 04:47AM

14
#496 - Spam Mail / @mrfdot

05/26/2023 at 12:48AM

14
#497 - Divvy C. / @divvy_c

08/11/2023 at 03:50PM

14
#498 - satake0916 / @satake0916

12/25/2023 at 12:06AM

15
#499 - Curtis Ault / @Curtis_Ault

11/04/2021 at 04:35PM

15
#500 - Matthew Beaumont / @mattybeau_dev

11/25/2021 at 11:33PM

15
#501 - Boris Rumyantsev / @rum_bd

01/02/2022 at 01:36PM

15
#502 - Aaron / @aaronvickers_

01/13/2022 at 11:59AM

15
#503 - caseyhadden / @caseyhadden

03/11/2022 at 04:54PM

15
#504 - kilims / @kilimsye

03/31/2022 at 03:14AM

15
#505 - Strageslol / @Strageslol

06/04/2022 at 07:32AM

15
#506 - zaxsne / @zaxsne

06/07/2022 at 01:45PM

15
#507 - PL Siddharth / @Havok1993

06/30/2022 at 12:17PM

15
#508 - Oleg Olesinski / @hex0n1

09/25/2022 at 10:09PM

15
#509 - Geek Boy / @Geek79

11/13/2022 at 07:54PM

15
#510 - Jake Popham / @jpopham91

03/11/2023 at 08:05PM