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

710 active golfers, 2503 entries

Leaderboard (lowest score wins):
10
#301 - Adrián Fidalgo-Díaz / @adrianFD22

12/14/2023 at 09:20PM

10
#302 - Leon Katsnelson / @leonkatsnelson

12/15/2023 at 11:03PM

10
#303 - jeffreymrussell / @jeffreymrussell

01/05/2024 at 02:50PM

10
#304 - BlockLune / @BlockLune

01/08/2024 at 09:02AM

10
#305 - Daniel Allen / @danielgallen

01/13/2024 at 05:14PM

10
#306 - Druhan Shah / @DruhanShah

01/14/2024 at 08:26AM

10
#307 - Caetano Sauer / @caetanosauer

01/15/2024 at 09:21AM

10
#308 - Matt Shen / @mattshen

01/24/2024 at 03:54AM

10
#309 - QKSDM / @qksdm

01/29/2024 at 04:44AM

10
#310 - ydbB / @ydbB

02/03/2024 at 01:34AM

10
#311 - Kory Newton / @korynewton

02/03/2024 at 08:25PM

10
#312 - Panda-Ghost / @Panda-Ghost

02/23/2024 at 08:02AM

10
#313 - Mitchel Kerckhaert / @MitchelKerckhaert

03/08/2024 at 04:38PM

10
#314 - vimster12312 / @vimster12394846

03/28/2024 at 05:59PM

10
#315 - Aly Thobani / @alythobani

04/05/2024 at 12:32AM

10
#316 - heog / @Heogy

04/05/2024 at 12:00PM

10
#317 - Pieter-Jan Lavaerts / @Pumpkin_Pie_Eat

04/05/2024 at 02:37PM

10
#318 - armaninux / @armaninux

04/05/2024 at 07:46PM

10
#319 - gpfl0712 / @gpfl0712

04/13/2024 at 07:59PM

10
#320 - Kanmuruuruu / @Kanmuruuruu

04/14/2024 at 06:53PM

10
#321 - Tomek / @Madghostek

04/22/2024 at 12:31PM

10
#322 - Charlie-83 / @Charlie-83

04/24/2024 at 06:02PM

10
#323 - xiaoao1024 / @xiaoao1024

04/28/2024 at 11:14AM

10
#324 - 刘宏亮 / @AkeyCoy

05/03/2024 at 01:29PM

10
#325 - Mark Reidel / @mreidel-godaddy

05/10/2024 at 09:29AM

10
#326 - ahenches / @ahenches

05/12/2024 at 12:48PM

10
#327 - Paul McDowell / @etothepi16

05/21/2024 at 09:51PM

10
#328 - sodawithbubbles / @sodawithbubbles

05/29/2024 at 07:05AM

10
#329 - Peppa Pig / @PeppaPigSg

05/31/2024 at 08:39AM

10
#330 - lnorbo / @lnorbo

06/07/2024 at 05:07PM