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

705 active golfers, 2490 entries

Leaderboard (lowest score wins):
10
#1 - Smylers / @Smylers2

09/19/2021 at 06:43PM

10
#2 - mr_l0n3lly / @mr_l0n3lly

09/19/2021 at 09:47PM

10
#3 - Dan / @dstein64

09/20/2021 at 01:16AM

10
#4 - Jon Krause / @jkrause314

09/20/2021 at 02:16AM

10
#5 - vim_maxter / @MaxterVim

09/20/2021 at 04:39AM

10
#6 - garry quested / @GQuested

09/20/2021 at 08:13AM

10
#7 - Miki Tebeka / @tebeka

09/20/2021 at 09:23AM

10
#8 - John Braxler / @braxler

09/20/2021 at 01:19PM

10
#9 - vimgolf_vinz / @VimgolfV

09/20/2021 at 02:57PM

10
#10 - せいほう / @FICSQF

09/21/2021 at 08:34AM

10
#11 - Gen / @gen_f_74

09/21/2021 at 07:01PM

10
#12 - Isaak Meier / @IsaakMeier

09/21/2021 at 11:01PM

10
#13 - yancy / @yancy_dong

09/22/2021 at 02:09AM

10
#14 - Johan Linder / @imLinder

09/23/2021 at 11:32AM

10
#15 - Scott Berger / @scottberger

09/23/2021 at 07:16PM

10
#16 - Tinko Minko / @tandikula

09/24/2021 at 06:16AM

10
#17 - sanganious / @sanganious1

09/25/2021 at 06:13AM

10
#18 - ufo / @objfly

09/25/2021 at 09:37AM

10
#19 - jdfgjhsbd / @bli231957

09/25/2021 at 12:40PM

10
#20 - Bo Xie / @iebox

09/25/2021 at 12:52PM

10
#21 - Roger Stoltz / @rogsto1

09/25/2021 at 04:27PM

10
#22 - Craig Euler / @euler_craig

09/26/2021 at 02:19AM

10
#23 - 关红伟 / @speed2exe

09/26/2021 at 04:13PM

10
#24 - Juraj Fiala / @juraj_fiala

09/27/2021 at 11:24AM

10
#25 - Bellator nobilis / @BNobilis

09/27/2021 at 10:33PM

10
#26 - WhyAre / @WhyAre52

09/28/2021 at 01:39PM

10
#27 - Jean George / @JeanGeo20504212

09/28/2021 at 03:29PM

10
#28 - Alessandro Cantini / @aecant

09/29/2021 at 04:04PM

10
#29 - Roman Privalov / @RomanPrivalov

09/30/2021 at 07:06AM

10
#30 - migoo / @migoo00668679

09/30/2021 at 07:41AM