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


#135 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

135 active golfers, 282 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

15
#66 - Smylers / @Smylers2

08/03/2016 at 03:42PM

15
#67 - Diego Anaya Mancilla / @mancilladev

08/03/2016 at 06:55PM

15
#68 - Victor Haffreingue / @nobe_4

08/03/2016 at 07:34PM

15
#69 - Jack McCallum / @JaqMcCallum

08/03/2016 at 08:38PM

15
#70 - James / @Dronak

08/03/2016 at 11:18PM

15
#71 - 王运 / @640138017

08/04/2016 at 12:52AM

15
#72 - f00b8tr / @f00b8tr5

08/04/2016 at 05:47AM

15
#73 - Cristian Lupașcu / @clupasq

08/04/2016 at 07:12AM

15
#74 - Perry van Schaijk / @PvSchaijk

08/04/2016 at 08:29AM

15
#75 - Jan Bundesmann / @janbundesmann

08/04/2016 at 11:14AM

15
#76 - Tautvilas / @TautviIas

08/04/2016 at 01:37PM

15
#77 - Arijus / @argshook

08/04/2016 at 01:38PM

15
#78 - Martynas Bardauskas / @mbardauskas

08/04/2016 at 01:44PM

15
#79 - CoffeeIntoCode / @_coffeeintocode

08/04/2016 at 04:23PM

15
#80 - no / @masongclayton

08/05/2016 at 12:54AM

15
#81 - Walker Boh / @walker_boh

08/05/2016 at 08:25AM

15
#82 - Sarang Khim / @sarang_khim

08/05/2016 at 12:55PM

15
#83 - Aaron Ogan / @aaronogan

08/06/2016 at 07:13PM

15
#84 - Jess Wong / @Jess199Jess

08/10/2016 at 05:02PM

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

08/11/2016 at 11:47AM

15
#86 - Jan Liu / @Jagsomarjan

08/11/2016 at 01:06PM

15
#87 - Jordan Wightman / @tuo2

08/13/2016 at 11:47AM

15
#88 - Will / @obiwan__k3n00bi

08/13/2016 at 08:57PM

15
#89 - Andreas Norrstig / @norrstig

08/21/2016 at 02:32PM

15
#90 - jj johnson / @jcassj1

08/22/2016 at 03:33PM