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 709 remaining solutions by signing in and submitting your own entry
#710 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

710 active golfers, 2503 entries

Leaderboard (lowest score wins):
13
#481 - Alex Ketchum / @alexjketchum

04/26/2022 at 06:49PM

13
#482 - Puzzlesbrony777 / @Puzzlesbrony777

04/30/2022 at 05:46PM

13
#483 - Javier Contreras / @contranton

05/04/2022 at 12:17AM

13
#484 - Calum Smith / @cpmsmith

05/30/2022 at 02:18PM

13
#485 - Andrew Morris / @andrew_morris

07/14/2022 at 11:09PM

13
#486 - Gabriele / @lazygeb

07/29/2022 at 10:48PM

13
#487 - Laurent Atlan / @laurentatlan1

08/14/2022 at 08:42PM

13
#488 - Pheimors / @pheimors

10/02/2022 at 04:38PM

13
#489 - Chongchong He / @chongchonghe

10/08/2022 at 08:58PM

13
#490 - James Marshall / @astrophd

10/21/2022 at 08:20PM

13
#491 - James / @Dronak

10/23/2022 at 03:57AM

13
#492 - Mortiz.Hsu / @mortiz_h

12/01/2022 at 10:09AM

13
#493 - 👌 / @whymonsieur

03/16/2023 at 07:02AM

13
#494 - Mar_Anboksing / @roei99

09/24/2023 at 10:59AM

13
#495 - Aaron Hunt / @ach5910

09/28/2023 at 02:59AM

13
#496 - mojito04 / @mojito04

11/30/2023 at 11:21PM

13
#497 - Petr Blaho / @petrblaho

02/09/2024 at 12:41PM

13
#498 - Korosou / @Korosou

04/29/2024 at 04:08PM

13
#499 - tk555 / @tk55513

05/03/2024 at 04:15AM

13
#500 - Emil Miler / @realcharmer

06/20/2024 at 08:38AM

13
#501 - Pablo Acuna / @pacuna

11/08/2024 at 09:40PM

13
#502 - mklug / @mklug

03/25/2025 at 01:07AM

14
#503 - Saurav / @ray__saurav

09/23/2021 at 06:14AM

14
#504 - ever0de / @ever0de

09/24/2021 at 01:50AM

14
#505 - Andy Novocin / @AndyNovocin

09/24/2021 at 09:10PM

14
#506 - NotANorthernGay / @notanortherngay

09/25/2021 at 11:55AM

14
#507 - â–‘Câ–‘oâ–‘oâ–‘pâ–‘eâ–‘râ–‘ â–‘Lâ–‘uâ–‘câ–‘eâ–‘ / @16cluce

09/28/2021 at 10:55PM

14
#508 - Fishery Agency / @fishsouprecipe

09/30/2021 at 05:44PM

14
#509 - Gordon / @gordonbourdain

10/07/2021 at 03:02PM

14
#510 - z_r_a / @z_r_a

10/10/2021 at 07:48AM