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):
29
#661 - jet πŸ¦‡πŸ”Š / @JetJadeja

11/18/2021 at 06:12PM

29
#662 - xtncl / @xtncl

06/10/2022 at 08:50PM

30
#663 - Ali Aslan / @AliAsla95742367

10/12/2021 at 03:06AM

30
#664 - Regina Liu / @reginaliu20

01/28/2022 at 08:38AM

30
#665 - oleg / @oleg12573505

01/29/2022 at 02:28PM

30
#666 - anonymouse / @anonymo65837183

04/07/2022 at 03:43AM

30
#667 - Dave Baskind / @davebaskind

10/28/2022 at 09:01AM

31
#668 - Ekko / @Ekkowhispers

06/18/2023 at 01:41PM

33
#669 - Sarah Jones / @SarahJo03185595

03/24/2023 at 10:43AM

34
#670 - TobSick / @TobSick

06/02/2024 at 05:44AM

35
#671 - cody diamond / @codyldiamond

12/14/2021 at 04:22AM

35
#672 - PlasTec / @PlasTec_

03/12/2023 at 03:28PM

40
#673 - thePilot / @thePilo02466023

10/27/2022 at 03:14PM

41
#674 - emilio / @emilioemmanueI

02/04/2022 at 01:26PM

45
#675 - dan murphy / @__dmurphy__

10/15/2021 at 01:43AM

46
#676 - κΉ€μ„Έν›ˆ / @gimse_

06/06/2022 at 03:35PM

47
#677 - A Random Vimgolfer / @AVimgolfer

02/04/2022 at 07:06AM

48
#678 - Kirk Matt / @Th0ught09

02/23/2024 at 07:58AM

49
#679 - andre / @pintoquete

09/22/2023 at 07:53PM

52
#680 - 唐毓謙 / @tonygooseduck

03/03/2022 at 10:00AM

53
#681 - Sean Corr / @seanc01212

03/06/2022 at 11:08PM

73
#682 - hey / @jkijkftufty

05/06/2022 at 06:57PM

77
#683 - 프둝 μ†Œν”„νŠΈ / @frocsoft

07/08/2023 at 01:17PM

79
#684 - Jonathan Elliott / @jon__elliott

05/04/2022 at 10:06AM

79
#685 - Selmir Aljic / @selmir_aljic

08/09/2023 at 12:38PM

86
#686 - Golfer / @Golfer56598542

06/18/2022 at 10:06PM

111
#687 - HeeeJianBo / @heeejianbo

04/01/2022 at 06:56AM

119
#688 - Jacob / @Jellydones

02/16/2022 at 04:35PM

134
#689 - Eric Campbell / @bosgryph

02/10/2022 at 05:30AM

149
#690 - Digang's νŠΈμœ„ν„° / @Digang_e

03/24/2022 at 04:05AM