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):
15
#91 - jj johnson / @jcassj1

08/22/2016 at 03:33PM

15
#92 - Netrisk Cool / @C00lt0

09/30/2016 at 10:03AM

15
#93 - Axl Waii / @axlwaii

10/02/2016 at 02:26PM

15
#94 - TweetDreams / @TweetMusicians

10/08/2016 at 11:24PM

15
#95 - Kyouma / @kyoumaJohn

10/14/2016 at 03:01PM

15
#96 - Alan Turing / @alantrng

11/28/2016 at 11:27PM

15
#97 - Sven R / @Sven73de

01/06/2017 at 10:48AM

15
#98 - Eduardo Hashimoto / @eduhashi

02/16/2017 at 12:17AM

15
#99 - Raymond Chee / @rchomium

03/05/2017 at 05:53AM

15
#100 - Daniel / @Daniel00288663

03/30/2017 at 12:36PM

15
#101 - 20speedvegan / @ashkevinm

04/14/2017 at 04:46PM

15
#102 - Alex Linden / @alexwlinden1

04/25/2017 at 08:50PM

15
#103 - Sam Hammer / @samhammer325

05/06/2017 at 07:10PM

15
#104 - Scott Mills / @smm1729

06/21/2017 at 12:07AM

15
#105 - mkl / @Hnr1zklc

10/26/2017 at 09:52AM

15
#106 - Chris Dean / @ChrisDe62379742

06/12/2018 at 02:49PM

15
#107 - Mihai / @mihaicristiant

01/28/2019 at 12:33PM

15
#108 - Patrick Lavin / @LavinComputes

01/31/2019 at 02:01AM

15
#109 - albalitz / @_albalitz

06/17/2019 at 01:43PM

15
#110 - Nicolas Daval / @ndaval

05/01/2020 at 08:06PM

15
#111 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 04:56PM

15
#112 - Selvaganapathy P / @canabady

02/22/2021 at 12:14PM

16
#113 - roboguy / @roboguy

08/05/2016 at 07:06AM

16
#114 - Micha / @michman89

08/06/2016 at 03:32PM

16
#115 - ♜ Pepe Doval / @pepellou

08/08/2016 at 04:52PM

16
#116 - Clark DuVall / @theclarkatron

10/06/2016 at 01:55AM

16
#117 - jn / @j1357924

10/19/2016 at 07:17PM

16
#118 - Liam S Ismail / @AC01Y

04/05/2017 at 12:18AM

16
#119 - Sxcy / @SxcyX

11/06/2018 at 04:17PM

16
#120 - timonegk / @timonegk

11/25/2018 at 10:19PM