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

692 active golfers, 2431 entries

Leaderboard (lowest score wins):
15
#541 - Aaron / @aaronvickers_

01/13/2022 at 11:59AM

15
#542 - caseyhadden / @caseyhadden

03/11/2022 at 04:54PM

15
#543 - kilims / @kilimsye

03/31/2022 at 03:14AM

15
#544 - Strageslol / @Strageslol

06/04/2022 at 07:32AM

15
#545 - zaxsne / @zaxsne

06/07/2022 at 01:45PM

15
#546 - PL Siddharth / @Havok1993

06/30/2022 at 12:17PM

15
#547 - Oleg Olesinski / @hex0n1

09/25/2022 at 10:09PM

15
#548 - Geek Boy / @Geek79

11/13/2022 at 07:54PM

15
#549 - Jake Popham / @jpopham91

03/11/2023 at 08:05PM

15
#550 - Emil Lykke Grann / @emil406p

10/24/2023 at 12:03PM

15
#551 - tomjoy75 / @tomjoy75

11/04/2023 at 11:01PM

15
#552 - Ludovic Schwartz / @ludovicschwartz

11/20/2023 at 01:51PM

15
#553 - Supreme Paudel / @paudsu01

06/03/2024 at 05:53PM

16
#554 - Paradoxskin / @paradoxskin

10/11/2021 at 07:34AM

16
#555 - Reuben Sinclair / @reubenjsinclair

10/17/2021 at 12:53PM

16
#556 - Yi-Kai, Huang / @YiKaiHuang1226

10/26/2021 at 01:25PM

16
#557 - JoakimV / @Svamptroll

11/19/2021 at 12:58PM

16
#558 - Snurli / @Snurlipus

11/20/2021 at 03:31PM

16
#559 - izbr / @IBRice101

11/20/2021 at 05:03PM

16
#560 - Angel Kozlev / @AngelKozlev

12/26/2021 at 09:12AM

16
#561 - Jakob Weickmann / @jweickm

02/16/2022 at 08:25PM

16
#562 - James Casey / @hanavi

03/10/2022 at 10:55PM

16
#563 - Rodney Visser / @_Radnus

03/14/2022 at 06:32PM

16
#564 - Felice Candilio / @felicemcc

03/14/2022 at 11:09PM

16
#565 - serborke / @serborke

04/02/2022 at 03:51AM

16
#566 - delnoch / @delnoch1

04/13/2022 at 09:10PM

16
#567 - ebrahim / @ebraHabashy

04/23/2022 at 05:16AM

16
#568 - vanniuner / @vanniuner

05/04/2022 at 02:44PM

16
#569 - Alvaro Neto / @AlvaroN15101725

05/06/2022 at 03:39PM

16
#570 - Van / @dangtrivan15

09/25/2022 at 09:05AM