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 506 remaining solutions by signing in and submitting your own entry
#507 Nikita Lezya / @NikitaLezya - Score: 198 - 03/30/22 @ 13:47
<Right>r0o49o<BS><CR>48<CR>3<BS>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>24<BS><BS>34<CR>33<CR>32<CR>31<CR>30<CR>2928<BS><BS><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:w<BS><BS><Esc>:w<CR><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>:q<CR>

0 comments


Created by: @thomasvodrazka

507 active golfers, 1762 entries

Leaderboard (lowest score wins):
30
#481 - oleg / @oleg12573505

01/29/2022 at 02:28PM

30
#482 - anonymouse / @anonymo65837183

04/07/2022 at 03:43AM

30
#483 - Dave Baskind / @davebaskind

10/28/2022 at 09:01AM

35
#484 - cody diamond / @codyldiamond

12/14/2021 at 04:22AM

40
#485 - thePilot / @thePilo02466023

10/27/2022 at 03:14PM

41
#486 - emilio / @emilioemmanueI

02/04/2022 at 01:26PM

45
#487 - dan murphy / @__dmurphy__

10/15/2021 at 01:43AM

46
#488 - 김세훈 / @gimse_

06/06/2022 at 03:35PM

47
#489 - A Random Vimgolfer / @AVimgolfer

02/04/2022 at 07:06AM

52
#490 - 唐毓謙 / @tonygooseduck

03/03/2022 at 10:00AM

53
#491 - Sean Corr / @seanc01212

03/06/2022 at 11:08PM

73
#492 - hey / @jkijkftufty

05/06/2022 at 06:57PM

79
#493 - Jonathan Elliott / @jon__elliott

05/04/2022 at 10:06AM

86
#494 - Golfer / @Golfer56598542

06/18/2022 at 10:06PM

111
#495 - HeeeJianBo / @heeejianbo

04/01/2022 at 06:56AM

119
#496 - Jacob / @Jellydones

02/16/2022 at 04:35PM

134
#497 - Eric Campbell / @bosgryph

02/10/2022 at 05:30AM

149
#498 - Digang's 트위터 / @Digang_e

03/24/2022 at 04:05AM

150
#499 - Chun Chanjun / @CChanjun

11/19/2021 at 01:39PM

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

10/17/2021 at 07:42AM

159
#501 - tuitdemauri / @tuitdemauri

10/25/2021 at 03:16AM

164
#502 - Hariharan M K / @HariharanMK

02/12/2022 at 01:30AM

167
#503 - LeODraReb / @thanhnamgh

01/14/2022 at 04:48AM

169
#504 - Thitichote Chaimuang / @ThitichoteC

03/02/2022 at 04:56AM

173
#505 - Shahar Weksler / @shaharWeksler

06/19/2022 at 02:21AM

183
#506 - Richard Schlenker / @DjZwieback

11/03/2022 at 01:47PM

198
#507 - Nikita Lezya / @NikitaLezya

03/30/2022 at 01:47PM