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

624 active golfers, 2191 entries

Leaderboard (lowest score wins):
79
#601 - Jonathan Elliott / @jon__elliott

05/04/2022 at 10:06AM

79
#602 - Selmir Aljic / @selmir_aljic

08/09/2023 at 12:38PM

86
#603 - Golfer / @Golfer56598542

06/18/2022 at 10:06PM

111
#604 - HeeeJianBo / @heeejianbo

04/01/2022 at 06:56AM

119
#605 - Jacob / @Jellydones

02/16/2022 at 04:35PM

134
#606 - Eric Campbell / @bosgryph

02/10/2022 at 05:30AM

149
#607 - Digang's 트위터 / @Digang_e

03/24/2022 at 04:05AM

150
#608 - Chun Chanjun / @CChanjun

11/19/2021 at 01:39PM

150
#609 - Bansko / @goren_noam

12/04/2022 at 10:50PM

152
#610 - 不安きのこ / @fuannkinoko

10/17/2021 at 07:42AM

153
#611 - Sery Park / @sisi_with_vim

06/13/2023 at 05:41PM

155
#612 - michan@RUNTEQ43期生 / @yuta43RUNTEQ

07/22/2023 at 12:04PM

155
#613 - ishaan / @nottosgow

10/22/2023 at 06:27AM

159
#614 - tuitdemauri / @tuitdemauri

10/25/2021 at 03:16AM

164
#615 - Hariharan M K / @HariharanMK

02/12/2022 at 01:30AM

167
#616 - LeODraReb / @thanhnamgh

01/14/2022 at 04:48AM

169
#617 - Thitichote Chaimuang / @ThitichoteC

03/02/2022 at 04:56AM

173
#618 - Shahar Weksler / @shaharWeksler

06/19/2022 at 02:21AM

173
#619 - Rodrigo Bonazzola / @rodbonazzola

05/23/2023 at 09:44PM

183
#620 - Richard Schlenker / @DjZwieback

11/03/2022 at 01:47PM

198
#621 - Nikita Lezya / @NikitaLezya

03/30/2022 at 01:47PM

218
#622 - Ryan / @Rdgy567889

04/22/2023 at 01:34PM

293
#623 - Sascha Steger / @ssteger01

08/31/2023 at 06:25AM

491
#624 - Clyde Tony / @ClydeTony1

09/21/2023 at 12:21PM