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


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

125 active golfers, 262 entries

Leaderboard (lowest score wins):
15
#91 - Raymond Chee / @rchomium

03/05/2017 at 05:53AM

15
#92 - Daniel / @Daniel00288663

03/30/2017 at 12:36PM

15
#93 - 20speedvegan / @ashkevinm

04/14/2017 at 04:46PM

15
#94 - Alex Linden / @alexwlinden1

04/25/2017 at 08:50PM

15
#95 - Sam Hammer / @samhammer325

05/06/2017 at 07:10PM

15
#96 - Scott Mills / @smm1729

06/21/2017 at 12:07AM

15
#97 - mkl / @Hnr1zklc

10/26/2017 at 09:52AM

15
#98 - Chris Dean / @ChrisDe62379742

06/12/2018 at 02:49PM

15
#99 - Mihai / @mihaicristiant

01/28/2019 at 12:33PM

15
#100 - Patrick Lavin / @LavinComputes

01/31/2019 at 02:01AM

15
#101 - albalitz / @_albalitz

06/17/2019 at 01:43PM

15
#102 - Nicolas Daval / @ndaval

05/01/2020 at 08:06PM

15
#103 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 04:56PM

16
#104 - roboguy / @roboguy

08/05/2016 at 07:06AM

16
#105 - Micha / @michman89

08/06/2016 at 03:32PM

16
#106 - ♜ Pepe Doval / @pepellou

08/08/2016 at 04:52PM

16
#107 - Clark DuVall / @theclarkatron

10/06/2016 at 01:55AM

16
#108 - jn / @j1357924

10/19/2016 at 07:17PM

16
#109 - Liam S Ismail / @AC01Y

04/05/2017 at 12:18AM

16
#110 - Sxcy / @SxcyX

11/06/2018 at 04:17PM

16
#111 - timonegk / @timonegk

11/25/2018 at 10:19PM

17
#112 - Marek Wawrzos / @putisPenser

08/08/2016 at 07:25AM

17
#113 - Oliver Christ / @0liverChrist

08/28/2016 at 07:57PM

17
#114 - Constantine / @ConstantineHatz

09/16/2016 at 06:53PM

17
#115 - Hans Yelek / @hans_yelek

01/13/2017 at 07:28PM

17
#116 - Yann / @yannstad

02/25/2017 at 08:38AM

17
#117 - prince ducaca / @prince_du_caca

09/26/2018 at 10:52PM

18
#118 - 逆飞的鱼 / @fly2never

08/04/2016 at 12:41AM

18
#119 - Luke Was / @acatalepteron

08/13/2016 at 02:33AM

18
#120 - Nabarun Chatterjee / @nabarunch

08/16/2016 at 06:12PM