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 239 remaining solutions by signing in and submitting your own entry
#240 唐毓謙 / @tonygooseduck - Score: 269 - 11/02/21 @ 05:06
lr0o49<CR>48<CR>47<CR>46<CR>45<CR>44<CR>43<CR>42<CR>41<CR>40<CR>39<CR>38<CR>37<CR>36<CR>35<CR>34<CR>33<CR>32<CR>31<CR>30<CR>29<CR>28<CR>27<CR>26<CR>25<CR>24<CR>23<CR>22<CR>21<CR>20<CR>19<CR>18<CR>17<CR>16<CR>15<CR>14<CR>13<CR>12<CR>11<CR>10<CR>9<CR>8<CR>7<CR>6<CR>5<CR>4<CR>3<CR>2<CR>1<Esc><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>:q<CR>:wq<CR>

0 comments


Created by: @thomasvodrazka

240 active golfers, 809 entries

Leaderboard (lowest score wins):
16
#211 - Angel Kozlev / @AngelKozlev

12/26/2021 at 09:12AM

17
#212 - Alex J / @rosco9awj

10/25/2021 at 10:00PM

17
#213 - Antse / @antse_fr

11/08/2021 at 06:50PM

17
#214 - William Voong / @VimGolferZZZ

12/08/2021 at 11:16PM

18
#215 - Srijan Joshi / @gamerboy1214

10/22/2021 at 04:44AM

18
#216 - arend-jan oosterveld / @ajoosterveld

10/25/2021 at 08:25AM

18
#217 - 호도르 / @Hodoor12

11/19/2021 at 03:53AM

19
#218 - Cozy Codeur / @CozyCodeur

10/13/2021 at 07:44AM

19
#219 - betstamp / @betstamp

10/22/2021 at 03:14AM

19
#220 - rakshith 🦄 / @rakshithbellare

12/26/2021 at 01:48PM

21
#221 - Vitalii / @Pan_Aeon

10/17/2021 at 03:40PM

21
#222 - sean.yang / @seanyangc

01/17/2022 at 08:16AM

24
#223 - ace_of_art_club / @aceofartclub1

01/18/2022 at 02:05PM

26
#224 - David Klein / @kleinhorn

10/12/2021 at 10:19PM

26
#225 - Patrick Motard / @PatrickMotard

10/13/2021 at 05:19PM

26
#226 - Lee Wei / @leewei666

10/16/2021 at 06:09AM

26
#227 - Marcin Krajewski / @mkrajewski_

11/25/2021 at 10:10AM

26
#228 - Chao Yan / @ch4oy4n

12/05/2021 at 08:08AM

26
#229 - ROBOTSTOP / @ROBOTST0P

12/24/2021 at 04:16AM

27
#230 - Goose / @Goose_Yang

10/29/2021 at 09:35AM

28
#231 - dog / @coldplayingsong

10/27/2021 at 02:28PM

29
#232 - jet 🦇🔊 / @JetJadeja

11/18/2021 at 06:12PM

30
#233 - Ali Aslan / @AliAsla95742367

10/12/2021 at 03:06AM

35
#234 - cody diamond / @codyldiamond

12/14/2021 at 04:22AM

45
#235 - dan murphy / @__dmurphy__

10/15/2021 at 01:43AM

150
#236 - Chun Chanjun / @CChanjun

11/19/2021 at 01:39PM

152
#237 - 不安きのこ / @fuannkinoko

10/17/2021 at 07:42AM

159
#238 - tuitdemauri / @tuitdemauri

10/25/2021 at 03:16AM

167
#239 - LeODraReb / @thanhnamgh

01/14/2022 at 04:48AM

269
#240 - 唐毓謙 / @tonygooseduck

11/02/2021 at 05:06AM