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

712 active golfers, 2505 entries

Leaderboard (lowest score wins):
10
#271 - KensStake / @kentaROyachyuni

07/16/2023 at 08:13AM

10
#272 - jinx balotchnik / @balotchnik

07/23/2023 at 02:16AM

10
#273 - djheidihoe / @djheidihoe1

07/25/2023 at 12:57PM

10
#274 - みずの/RUNTEQ43期 / @nozumi_program

07/27/2023 at 08:00AM

10
#275 - masato@RUNTEQ43期 / @number3_mlog

07/27/2023 at 10:44AM

10
#276 - dew mtn / @dewmtn2

07/29/2023 at 04:16PM

10
#277 - theorem / @theorem

08/05/2023 at 02:11AM

10
#278 - Joshua Sumskas / @jsumskas

08/08/2023 at 05:00AM

10
#279 - r4d1um / @r4d1um

08/10/2023 at 09:02PM

10
#280 - moh ayaya / @AyayaMoh

08/23/2023 at 03:42PM

10
#281 - Jamie / @jamiegibneyuk

08/25/2023 at 02:56PM

10
#282 - Daniel Apt / @DanielApt

08/25/2023 at 06:59PM

10
#283 - 李建宏 / @xx19971016

08/31/2023 at 07:15AM

10
#284 - Detached Head State / @DtachdHeadState

09/07/2023 at 05:30PM

10
#285 - Mahery Setraniaina / @mahery941822

09/22/2023 at 03:46PM

10
#286 - Monkey Boy / @monkey29089

09/26/2023 at 01:25PM

10
#287 - Markus Ditlev Olsen / @DitlevOlsen

09/30/2023 at 09:20PM

10
#288 - Luoyb / @Luoyb

10/23/2023 at 12:18AM

10
#289 - Seok Hwan Kim / @gworldkim

10/23/2023 at 02:19PM

10
#290 - LandR / @ListenAndR

10/24/2023 at 06:53AM

10
#291 - _ / @k_n_rvs

10/25/2023 at 02:35PM

10
#292 - Jan Troest / @jan_troest

11/01/2023 at 11:23PM

10
#293 - Sergej Karavajnij / @basyanya_sk

11/02/2023 at 08:07PM

10
#294 - tien / @tien40766111

11/14/2023 at 11:58AM

10
#295 - Jakob Weickmann / @jweickm

11/14/2023 at 04:04PM

10
#296 - 185264646 / @185264646

11/26/2023 at 11:02AM

10
#297 - lethalNeutrino / @lethalNeutrino

11/28/2023 at 12:58PM

10
#298 - kjuq / @kjuq

12/06/2023 at 04:04AM

10
#299 - 小世界 / @walilav

12/08/2023 at 02:57AM

10
#300 - asirago / @asiragoo

12/13/2023 at 01:27AM