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

604 active golfers, 2136 entries

Leaderboard (lowest score wins):
10
#211 - Léo / @Leo58369183

08/29/2022 at 07:41AM

10
#212 - SlavWolf / @SlavWolf1

09/03/2022 at 08:42AM

10
#213 - 비비빅 / @bibibig80714274

09/03/2022 at 04:25PM

10
#214 - Ssu-Yuan Cheng / @szuyuan

09/11/2022 at 03:18PM

10
#215 - スー / @suesanjp_dev

09/13/2022 at 05:53AM

10
#216 - Janzen / @__Coos

09/13/2022 at 07:17AM

10
#217 - linestopaper / @linestopaper

09/14/2022 at 04:26AM

10
#218 - Andrew Liu / @AndrewL45936893

09/19/2022 at 04:22AM

10
#219 - Alex Lewin / @_AlexLewin

09/19/2022 at 04:55PM

10
#220 - Eivind Jahren / @HaskellElephant

09/19/2022 at 07:32PM

10
#221 - Austin Willliams / @GuitarMusash616

09/21/2022 at 06:11AM

10
#222 - キムラ・OPEL・ユウジ / @kimurayuuji79

09/30/2022 at 03:30AM

10
#223 - Karan / @Karan22350073

09/30/2022 at 11:02AM

10
#224 - Omar Alawadhi / @OmarAla59544225

10/06/2022 at 09:09PM

10
#225 - Bangash💉💉 / @DevotionGeo

10/08/2022 at 06:54AM

10
#226 - Vinicius Azevedo Pinheiro / @Viniciu42652081

10/10/2022 at 10:23PM

10
#227 - chen chaos / @chenchaos3

10/12/2022 at 04:28AM

10
#228 - Topvimgolf Score / @topvimgolfscore

10/12/2022 at 10:20AM

10
#229 - Andrii Soldatenko / @a_soldatenko

10/17/2022 at 06:00PM

10
#230 - Martin Grumbt / @grumbts

10/23/2022 at 03:02PM

10
#231 - Valtteri Tarvus / @Wote21

10/23/2022 at 05:47PM

10
#232 - limboste / @limboste

10/28/2022 at 04:20AM

10
#233 - Yu SERIZAWA / @upamune

11/11/2022 at 02:33AM

10
#234 - Mario Olofo / @mario_olofo

11/21/2022 at 10:00AM

10
#235 - Lars Winderling / @kaHaleMaKai

11/28/2022 at 08:02PM

10
#236 - qyACvBm9H8 / @QyBm9

12/04/2022 at 01:28AM

10
#237 - Dank City / @ddankcity

12/05/2022 at 04:59PM

10
#238 - Joshua Philpott / @jphil529

12/11/2022 at 08:27AM

10
#239 - yurei / @yurei38667012

12/16/2022 at 01:03PM

10
#240 - Takeru Osoegawa / @taktiks2

12/17/2022 at 02:01AM