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

699 active golfers, 2472 entries

Leaderboard (lowest score wins):
14
#511 - thevimgolfer / @thevimgolfer

01/05/2022 at 05:39PM

14
#512 - mattp (part of the πŸ’‰πŸ’‰πŸ’‰ club) / @mattpep

01/19/2022 at 02:06PM

14
#513 - asd bsd / @asdbsd15569049

02/06/2022 at 06:05PM

14
#514 - Carlos Gracia / @Elrauk

02/21/2022 at 04:26PM

14
#515 - Ashley Feniello / @AshleyFen

02/22/2022 at 01:55AM

14
#516 - μœ€μŠΉν›„ / @yunseunghu7

03/04/2022 at 06:21AM

14
#517 - Julio CPP / @jcaesarpp

03/19/2022 at 12:55AM

14
#518 - asayake / @995himada

03/21/2022 at 06:29AM

14
#519 - Daneil yan / @ex4722

03/30/2022 at 09:11PM

14
#520 - Jason Kuan | jasonkuan.eth / @Jason9075Kuan

04/06/2022 at 02:10AM

14
#521 - Pierre-Olivier Proulx / @PierreO57066096

04/22/2022 at 02:23AM

14
#522 - Branimir MirčetiΔ‡ / @BranimirMireti1

05/11/2022 at 09:45PM

14
#523 - ccorvi / @ccorvi1

05/17/2022 at 09:34AM

14
#524 - steve / @steve35773420

05/22/2022 at 09:53PM

14
#525 - andro wei / @androwei1

05/24/2022 at 11:01AM

14
#526 - Pablo R. Dinella / @pablordinella

05/24/2022 at 11:57PM

14
#527 - yann / @ylsarto

06/20/2022 at 06:30AM

14
#528 - LEYO πŸ’» - Dev / @leoroullois

07/05/2022 at 09:42PM

14
#529 - Andy Tso / @AndyTso7

07/11/2022 at 02:00AM

14
#530 - cqjxx / @cqjxx1

07/18/2022 at 01:38PM

14
#531 - Abdelrahman Madkour / @A3Madkour

08/20/2022 at 08:32PM

14
#532 - K.Takao / @kit_tko

09/16/2022 at 02:01PM

14
#533 - Drakkir / @iamDrakkir

01/02/2023 at 12:26PM

14
#534 - vladanscy / @vladanscy

02/04/2023 at 12:29PM

14
#535 - かみひろ / @km_hr

02/18/2023 at 06:52AM

14
#536 - c.y.k.sagar / @x95ych

04/16/2023 at 04:47AM

14
#537 - Spam Mail / @mrfdot

05/26/2023 at 12:48AM

14
#538 - Divvy C. / @divvy_c

08/11/2023 at 03:50PM

14
#539 - satake0916 / @satake0916

12/25/2023 at 12:06AM

14
#540 - John Kershaw / @johnkershaw

04/21/2024 at 05:02PM