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

623 active golfers, 2185 entries

Leaderboard (lowest score wins):
11
#301 - Askhento / @askhento

10/05/2021 at 11:41PM

11
#302 - Salvador Tojo Quintela / @SalvadorTojo

10/08/2021 at 04:17PM

11
#303 - Robert Hendrickson / @RobertH72200659

10/09/2021 at 10:25PM

11
#304 - Steven Langsford / @stevenlangsford

10/10/2021 at 09:40AM

11
#305 - zendokite / @zendokite

10/18/2021 at 10:26AM

11
#306 - RezmeD / @rezmed0

10/20/2021 at 02:14PM

11
#307 - Андрей Осипенко / @os1penko_andrey

10/20/2021 at 05:07PM

11
#308 - preethamrn / @preethamrn

10/21/2021 at 07:19AM

11
#309 - r_dev / @dever_42

10/21/2021 at 12:48PM

11
#310 - Johan Arrhen / @JoPeArrhen

10/22/2021 at 07:55PM

11
#311 - Raiden di Rivia / @Raiden_di_Rivia

10/25/2021 at 11:49AM

11
#312 - Matrices Matlab #1 / @matrices_matlab

10/28/2021 at 12:21PM

11
#313 - 6cdh / @cd6cdh

11/01/2021 at 12:32PM

11
#314 - Duncan / @Duncan31503119

11/01/2021 at 08:54PM

11
#315 - introvert / @introve84267133

11/02/2021 at 10:39AM

11
#316 - redraw / @redraw_

11/13/2021 at 02:44AM

11
#317 - TheSemicolon / @the_semicolon_

11/15/2021 at 08:34AM

11
#318 - 深窓の令嬢@ドクター / @arbino1031

11/18/2021 at 12:30PM

11
#319 - Vladislav Straka / @StrakaVladislav

11/22/2021 at 05:59PM

11
#320 - mehbark / @mehbark

11/28/2021 at 08:08PM

11
#321 - A White Dwarf / @AWhiteDwarf1

12/03/2021 at 09:45PM

11
#322 - deusthe / @deusthe91

12/20/2021 at 01:10PM

11
#323 - 時空裂縫 / @0xdcbf

12/26/2021 at 09:25AM

11
#324 - Doxly / @Doxly

01/04/2022 at 05:40AM

11
#325 - july9793 / @july9793_

01/07/2022 at 10:27AM

11
#326 - Brian Park / @briansypark

01/11/2022 at 12:44AM

11
#327 - mvimgolf / @vimgolfvimgolf

01/23/2022 at 07:38PM

11
#328 - Thomas Lüdecke / @t0mM3k

02/01/2022 at 03:46PM

11
#329 - Raul / @raulfpl

02/05/2022 at 12:09AM

11
#330 - Carsten Cordes / @badagent86

02/06/2022 at 10:17PM