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

680 active golfers, 2394 entries

Leaderboard (lowest score wins):
17
#571 - William Voong / @VimGolferZZZ

12/08/2021 at 11:16PM

17
#572 - Guillaume leon / @Le_Zappellin

01/21/2022 at 01:13PM

17
#573 - mebuh / @mebuh42

03/22/2022 at 08:38PM

17
#574 - Milan Gunasekera / @GunasekeraMilan

03/30/2022 at 07:03AM

17
#575 - Alan Rezende 🔥 Full Stack Developer / @alanrezende

04/29/2022 at 04:38PM

17
#576 - けつ / @ketsumashu

06/26/2022 at 01:15PM

17
#577 - Siddharth Murali / @SidTweetsALess

06/27/2022 at 10:35AM

17
#578 - ztt / @ztt97852683

11/18/2022 at 07:04AM

17
#579 - Vinay Sridhar / @kewllip

03/11/2023 at 05:53PM

17
#580 - Alex / @alexbhandariy

06/13/2023 at 05:20PM

17
#581 - kevinwang6nine / @kevinwang6nine

04/29/2024 at 11:41AM

18
#582 - Srijan Joshi / @gamerboy1214

10/22/2021 at 04:44AM

18
#583 - arend-jan oosterveld / @ajoosterveld

10/25/2021 at 08:25AM

18
#584 - 호도르 / @Hodoor12

11/19/2021 at 03:53AM

18
#585 - Alex Meredith / @alex_meredith

05/06/2022 at 02:23PM

18
#586 - Duy nguyễn / @Duycld03

07/27/2023 at 06:39PM

18
#587 - Julian Hoch / @julian-hoch

11/21/2023 at 05:28PM

19
#588 - Cozy Codeur / @CozyCodeur

10/13/2021 at 07:44AM

19
#589 - betstamp / @betstamp

10/22/2021 at 03:14AM

19
#590 - rakshith 🦄 / @rakshithbellare

12/26/2021 at 01:48PM

19
#591 - Ryan Murphy / @RyanMur92693753

03/12/2022 at 08:33PM

19
#592 - Nils Melchert / @NilsMelchert

03/14/2022 at 02:38PM

19
#593 - tapio / @gncnaxb

04/17/2022 at 03:23PM

19
#594 - Sikander ⚙️⛓ / @sikanderlhote

05/18/2022 at 11:56AM

19
#595 - Thomas Hiron / @thomashiron

02/20/2023 at 11:00AM

19
#596 - 0xf89 / @0xf89

02/09/2024 at 02:36PM

20
#597 - 盧小小 / @VegetaLu

04/01/2022 at 05:05PM

21
#598 - Vitalii / @Pan_Aeon

10/17/2021 at 03:40PM

21
#599 - Aiden Yang / @aidenyangnn

01/17/2022 at 08:16AM

21
#600 - Niklas Gustafson / @GustafsonNiklas

02/26/2022 at 08:44PM