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

623 active golfers, 2185 entries

Leaderboard (lowest score wins):
19
#541 - Thomas Hiron / @thomashiron

02/20/2023 at 11:00AM

20
#542 - 盧小小 / @VegetaLu

04/01/2022 at 05:05PM

21
#543 - Vitalii / @Pan_Aeon

10/17/2021 at 03:40PM

21
#544 - Aiden Yang / @aidenyangnn

01/17/2022 at 08:16AM

21
#545 - Niklas Gustafson / @GustafsonNiklas

02/26/2022 at 08:44PM

21
#546 - Leonard Bereska / @LeonardBereska

03/05/2023 at 07:33AM

21
#547 - dailybeef / @dailybeef

11/16/2023 at 07:29PM

21
#548 - Robert Natkay / @nrob81

11/26/2023 at 04:24PM

22
#549 - Yair Frid / @yairfrid_

01/19/2022 at 10:18PM

22
#550 - Kaepa69 / @kaepa3

09/08/2023 at 05:33PM

23
#551 - p / @Ytg6M

03/25/2022 at 07:42AM

24
#552 - ace_of_art_club / @aceofartclub1

01/18/2022 at 02:05PM

24
#553 - Soti / @Soti444

04/04/2022 at 07:13PM

25
#554 - Even Wei / @evenwei59

03/17/2022 at 07:42AM

25
#555 - Il Granfiatore / @M_Klauer

04/05/2022 at 06:09AM

25
#556 - xuxin / @xuxinmight

06/20/2022 at 09:05AM

25
#557 - Benjamin Verjus / @Tart0f

07/01/2022 at 08:55PM

25
#558 - Benjamin / @BenjaminBashar

11/19/2022 at 10:31AM

25
#559 - SNURTEL / @snurtel

03/06/2023 at 08:54PM

25
#560 - Honza Uhlík / @JanUhlik

09/20/2023 at 10:25AM

26
#561 - David Klein / @kleinhorn

10/12/2021 at 10:19PM

26
#562 - Patrick Motard / @PatrickMotard

10/13/2021 at 05:19PM

26
#563 - Lee Wei / @leewei666

10/16/2021 at 06:09AM

26
#564 - Marcin Krajewski / @mkrajewski_

11/25/2021 at 10:10AM

26
#565 - Chao Yan / @ch4oy4n

12/05/2021 at 08:08AM

26
#566 - ROBOTSTOP / @ROBOTST0P

12/24/2021 at 04:16AM

26
#567 - Ju / @Heckrothing

02/12/2022 at 02:14PM

26
#568 - Bas / @m1tix

09/23/2022 at 03:33PM

26
#569 - Eugene Yalansky / @EugeneYalansky

06/21/2023 at 03:51AM

27
#570 - Goose / @Goose_Yang

10/29/2021 at 09:35AM