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

708 active golfers, 2499 entries

Leaderboard (lowest score wins):
10
#61 - Shamim Keshani / @ShamimKeshani

10/22/2021 at 07:45PM

10
#62 - TimMcGuire / @mcguire

10/24/2021 at 11:26PM

10
#63 - Hommels / @pseudohommels

10/25/2021 at 11:04PM

10
#64 - perseo / @PerseoGI

10/26/2021 at 09:58AM

10
#65 - zhang_walter / @zhangwalter1

10/27/2021 at 09:56AM

10
#66 - Filipe Brandenburger / @filbranden

10/27/2021 at 11:10PM

10
#67 - Qarthik / @qrthik

10/29/2021 at 06:59AM

10
#68 - Winston / @sequentialchaos

10/29/2021 at 01:35PM

10
#69 - DR / @dde81

10/31/2021 at 04:31PM

10
#70 - auruby / @HenGreneggs

11/02/2021 at 02:01AM

10
#71 - Sando Itchi / @sando_itchi

11/02/2021 at 05:58PM

10
#72 - Darius Smaliukas / @daraz999

11/03/2021 at 11:46AM

10
#73 - Calarasanu Andrei / @_fanfani4_

11/03/2021 at 02:40PM

10
#74 - lippfi / @lippfi1

11/05/2021 at 04:25AM

10
#75 - thari.eth / @thari_eth

11/06/2021 at 03:28AM

10
#76 - Simon / @mopsdiv

11/07/2021 at 12:32PM

10
#77 - yeonlee / @yeonlee13820351

11/08/2021 at 03:02PM

10
#78 - Michael / @triorph

11/09/2021 at 07:31AM

10
#79 - 김철호 / @Mx2W2

11/11/2021 at 01:34AM

10
#80 - Алексей Иванин / @AliakseiIvanin

11/11/2021 at 02:34PM

10
#81 - SwordSwordSwordBird / @SwordSwordBird

11/13/2021 at 06:22AM

10
#82 - Baxter / @Baxter79512802

11/13/2021 at 11:25PM

10
#83 - scpchicken / @scpchick

11/14/2021 at 02:59PM

10
#84 - Marcel Rød / @marcelroed

11/17/2021 at 10:20PM

10
#85 - Patrick Rainey / @PatrickJRainey

11/18/2021 at 12:33PM

10
#86 - Milovan Zogovic / @zogash

11/19/2021 at 01:39PM

10
#87 - Theo Gregory / @tjmgregory

11/21/2021 at 10:12PM

10
#88 - cheronder / @cheronder1

11/23/2021 at 09:39AM

10
#89 - John Doe / @JohnDoe75830353

11/24/2021 at 12:00PM

10
#90 - hector / @w29975700

11/26/2021 at 08:32AM