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 57a208ce38e7e83a43000003

Generate a list of numbers

Please generate list of numbers from 1 to 20.

Start file
1
End file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

View Diff

1c1
< 1
---
> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

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 134 remaining solutions by signing in and submitting your own entry
#135 Richard Laub / @RWLaub91 - Score: 53 - 08/07/16 @ 05:38
a 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20<Esc>ZZ

0 comments


#136 Jurica / @Jurica34581259 - Score: 53 - 11/20/18 @ 22:21
:let c=1<CR>qa:let c=c+1<CR>:execute 'put ='.c<CR>q18@a1G20JZZ

0 comments


Created by: @isaneba

136 active golfers, 283 entries

Leaderboard (lowest score wins):
14
#61 - naomi (forgetful functor) / @fixedpointfae

03/29/2022 at 02:15AM

14
#62 - Alex / @AlexanderHeatl2

05/21/2022 at 09:44PM

14
#63 - russellzhaomao / @russellzhaomao

06/24/2022 at 12:39PM

14
#64 - Brandon / @Brandon10678836

08/31/2022 at 09:48PM

14
#65 - Janzen / @__Coos

10/02/2022 at 08:53AM

14
#66 - jonas-grobe / @jonas-grobe

02/03/2024 at 10:18PM

15
#67 - Smylers / @Smylers2

08/03/2016 at 03:42PM

15
#68 - Diego Anaya Mancilla / @mancilladev

08/03/2016 at 06:55PM

15
#69 - Victor Haffreingue / @nobe_4

08/03/2016 at 07:34PM

15
#70 - Jack McCallum / @JaqMcCallum

08/03/2016 at 08:38PM

15
#71 - James / @Dronak

08/03/2016 at 11:18PM

15
#72 - 王运 / @640138017

08/04/2016 at 12:52AM

15
#73 - f00b8tr / @f00b8tr5

08/04/2016 at 05:47AM

15
#74 - Cristian Lupașcu / @clupasq

08/04/2016 at 07:12AM

15
#75 - Perry van Schaijk / @PvSchaijk

08/04/2016 at 08:29AM

15
#76 - Jan Bundesmann / @janbundesmann

08/04/2016 at 11:14AM

15
#77 - Tautvilas / @TautviIas

08/04/2016 at 01:37PM

15
#78 - Arijus / @argshook

08/04/2016 at 01:38PM

15
#79 - Martynas Bardauskas / @mbardauskas

08/04/2016 at 01:44PM

15
#80 - CoffeeIntoCode / @_coffeeintocode

08/04/2016 at 04:23PM

15
#81 - no / @masongclayton

08/05/2016 at 12:54AM

15
#82 - Walker Boh / @walker_boh

08/05/2016 at 08:25AM

15
#83 - Sarang Khim / @sarang_khim

08/05/2016 at 12:55PM

15
#84 - Aaron Ogan / @aaronogan

08/06/2016 at 07:13PM

15
#85 - Jess Wong / @Jess199Jess

08/10/2016 at 05:02PM

15
#86 - mattp (part of the 💉💉💉 club) / @mattpep

08/11/2016 at 11:47AM

15
#87 - Jan Liu / @Jagsomarjan

08/11/2016 at 01:06PM

15
#88 - Jordan Wightman / @tuo2

08/13/2016 at 11:47AM

15
#89 - Will / @obiwan__k3n00bi

08/13/2016 at 08:57PM

15
#90 - Andreas Norrstig / @norrstig

08/21/2016 at 02:32PM