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

690 active golfers, 2427 entries

Leaderboard (lowest score wins):
10
#241 - @grhkm@infosec.exchange / @grhkm21

12/18/2022 at 02:15PM

10
#242 - Marco Meinardi / @Kee__no

12/29/2022 at 03:46PM

10
#243 - Ivan Trepakov / @liontiger23

12/30/2022 at 05:08PM

10
#244 - 0xdaydream / @0xdaydream_

01/07/2023 at 01:26PM

10
#245 - Tachy / @Tachypsychique

01/09/2023 at 04:46PM

10
#246 - でよ / @tada_kun8

01/22/2023 at 04:32AM

10
#247 - 야호 / @kse8425z

01/27/2023 at 07:29AM

10
#248 - Nathan Heavner / @nathan_heavner

01/27/2023 at 06:49PM

10
#249 - Seiji M / @trumpettrumpet3

01/28/2023 at 07:12AM

10
#250 - tneeds / @tneeds12

02/04/2023 at 06:43AM

10
#251 - 马海洋 / @LG41bT7ZvqOdFl3

02/07/2023 at 08:46PM

10
#252 - e_e / @eleloi

02/12/2023 at 04:07PM

10
#253 - Ted / @TodorDukov

03/13/2023 at 03:41PM

10
#254 - François / @mortyZZ

03/25/2023 at 04:04PM

10
#255 - Cata / @catacox17

04/03/2023 at 11:36PM

10
#256 - FirstModus / @Nolimimer

04/08/2023 at 05:09PM

10
#257 - Vgaccount645 / @vgaccount616132

04/09/2023 at 01:35AM

10
#258 - 94 / @kyu08_

04/11/2023 at 10:22AM

10
#259 - harsha / @pathuri86

04/14/2023 at 05:36AM

10
#260 - Håkon Harnes / @HarnesHakon

04/16/2023 at 07:05PM

10
#261 - Иван / @wansmer

04/21/2023 at 04:41AM

10
#262 - owner / @owner87643936

04/24/2023 at 05:26PM

10
#263 - NOT_FOR_TWEETS / @_NOTIMPLEMENTED

05/03/2023 at 10:58AM

10
#264 - stablestud / @stablestud1

05/15/2023 at 03:27PM

10
#265 - Max Shen / @m4xshen

05/24/2023 at 06:52AM

10
#266 - SmoggyFog / @SmoggyFog

05/30/2023 at 06:46AM

10
#267 - Игорь Квачёнок / @IKvacenok

06/02/2023 at 02:11PM

10
#268 - Olivier Bégassat / @zk_evm

06/11/2023 at 11:23AM

10
#269 - くりち / 栗原佑弥 / @kurichi97

06/29/2023 at 01:10PM

10
#270 - Golf Vim / @GolfVim11388

07/04/2023 at 09:02PM