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 76 remaining solutions by signing in and submitting your own entry
#77 Kevin Ash / ashkevinm - Score: 15 - 04/14/17 @ 16:46
qqYp<C-A>q18@qvHJZZ

0 comments

#78 Alex Linden / alexwlinden1 - Score: 15 - 04/25/17 @ 20:50
qqYp<C-A>q18@qv{JZZ

0 comments

#79 Sam Hammer / samhammer325 - Score: 15 - 05/06/17 @ 19:10
qqYp<C-A>q18@qvHJZZ

0 comments

#80 roboguy / roboguy - Score: 16 - 08/05/16 @ 07:06
qqYp<C-A>q18@qVggJZZ

0 comments

#81 Micha / michman89 - Score: 16 - 08/06/16 @ 15:32
qqyyp<C-A>q18@qvHJZZ

0 comments

#82 ♜ José Doval / pepellou - Score: 16 - 08/08/16 @ 16:52
qqYp<C-A>q18@qH20JZZ

0 comments

#83 Clark DuVall / theclarkatron - Score: 16 - 10/06/16 @ 01:55
qqYp<C-A>q18@q{20JZZ

0 comments

#84 jn / j1357924 - Score: 16 - 10/19/16 @ 19:17
qqYp<C-A>q18@qVggJZZ

0 comments

#85 Liam S Ismail / AC01Y - Score: 16 - 04/05/17 @ 00:18
<C-X>19i0<CR><Esc>V(g<C-A>gvJZZ

0 comments

#86 Marek Wawrzos / putisPenser - Score: 17 - 08/08/16 @ 07:25
qqyiwA <Esc>p<C-A>q18@qZZ

0 comments

#87 Oliver Christ / 0liverChrist - Score: 17 - 08/28/16 @ 19:57
qqyiwA <Esc>p<C-A>q18@qZZ

0 comments

#88 Constantine / ConstantineHatz - Score: 17 - 09/16/16 @ 18:53
qqyiwA <Esc>p<C-A>q18@qZZ

0 comments

#89 Hans Yelek / hans_yelek - Score: 17 - 01/13/17 @ 19:28
qqyiwA <Esc>p<C-A>q18@qZZ

0 comments

#90 Yann / yannstadnicki - Score: 17 - 02/25/17 @ 08:38
qqyiwA <Esc>p<C-A>q18@qZZ

0 comments

#91 逆飞的鱼 / fly2never - Score: 18 - 08/04/16 @ 00:41
qwyyp<C-A>q18@wVG{J:x<CR>

0 comments

#92 Luke Was / acatalepteron - Score: 18 - 08/13/16 @ 02:33
qaviwyA <Esc>p<C-A>q18@aZZ

0 comments

#93 Nabarun Chatterjee / nabarunch - Score: 18 - 08/16/16 @ 18:12
qqyyp<C-A>q18@qgg20JZZ

0 comments

#94 Christian Rondeau / c_rondeau - Score: 18 - 10/16/16 @ 16:36
qqVyp<C-A>q18@qgg20JZZ

0 comments

#95 javier castro / eusipial - Score: 25 - 09/19/16 @ 04:35
:put =range(2,20)<CR>1G20JZZ

0 comments

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

Created by: isaneba

96 active golfers, 192 entries

Leaderboard (lowest score wins):
14
#1 - Jon Krause / jkrause314

08/03/2016 at 03:40PM

14
#2 - Urtica dioica / udioica

08/03/2016 at 03:43PM

14
#3 - isaneba / isaneba

08/03/2016 at 04:10PM

14
#4 - John Braxler / braxler

08/03/2016 at 07:01PM

14
#5 - tPenguinLTG / tpenguinltg

08/03/2016 at 07:35PM

14
#6 - Kerson Hsiao / KersonHsiao

08/04/2016 at 02:26AM

14
#7 - Petro Тrouq / zulolosi

08/04/2016 at 04:31AM

14
#8 - Restroom Sounds / RestroomSounds

08/04/2016 at 03:00PM

14
#9 - JinHwan Choi / jinhwanlazy

08/04/2016 at 08:02PM

14
#10 - George Angelopoulos / g_usermod

08/05/2016 at 07:17AM

14
#11 - Marcin Radomski / _dextero

08/05/2016 at 12:27PM

14
#12 - Herbert S. / herbertshlong

08/05/2016 at 10:28PM

14
#13 - Anton / AntonTell1

08/07/2016 at 04:00AM

14
#14 - Eddie Elizondo / eddie_elizondo

08/07/2016 at 11:38PM

14
#15 - Jorgemejor / Jorgesumle

08/08/2016 at 06:13AM

14
#16 - Josh Samuelson / JoshSamuelson

08/09/2016 at 10:30PM

14
#17 - Byron Ellacott / codebje

08/10/2016 at 02:32AM

14
#18 - Rathrio / Rathrio

08/11/2016 at 11:35AM

14
#19 - Lifepillar / lifepillar

08/17/2016 at 05:06PM

14
#20 - Alec Goebel / bewarethegrue

08/21/2016 at 09:57PM

14
#21 - LordFoom / LordFoom

08/22/2016 at 07:41AM

14
#22 - jaresty / jaresty

08/23/2016 at 03:02PM

14
#23 - Richard O'Brien / richard0b

08/24/2016 at 03:54AM

14
#24 - Stanislav / prstad

08/24/2016 at 09:01AM

14
#25 - Stephen Aument / saument

08/30/2016 at 09:39PM

14
#26 - jdupont655 / jdupont655

09/02/2016 at 12:27AM

14
#27 - Krzysztof Borkowski / smiechowy

09/03/2016 at 07:57PM

14
#28 - loki2441 / loki2441

09/05/2016 at 01:21PM

14
#29 - hor1ace / hor3ace

09/07/2016 at 10:58PM

14
#30 - Caleb Prashant / calebprashant

09/13/2016 at 11:47AM

14
#31 - Nico / _Nico_Caro

09/26/2016 at 06:29PM

14
#32 - manbogot / gmanbor

10/02/2016 at 09:27AM

14
#33 - David Stensland / DavidStensland

10/05/2016 at 09:54PM

14
#34 - trx / trxdbg

10/11/2016 at 09:53AM

14
#35 - Josh Callender / Saponifi3d

10/16/2016 at 12:50AM

14
#36 - John Barbero Unenge / JBarberU

10/19/2016 at 01:11PM

14
#37 - Bill Ruddock / biinari

10/25/2016 at 02:07PM

14
#38 - Etienne Florent / EtienneFlorent

11/25/2016 at 08:55AM

14
#39 - Zhihong Liu / pieapple03

02/28/2017 at 03:32PM

14
#40 - Daniel Hjelm / dhjelm

03/15/2017 at 11:09AM

14
#41 - Kevin K / okkays

04/25/2017 at 03:45PM

14
#42 - mesacul / mesacul

05/23/2017 at 05:19AM

15
#43 - Smylers / Smylers2

08/03/2016 at 03:42PM

15
#44 - Diego Anaya Mancilla / mancilladev

08/03/2016 at 06:55PM

15
#45 - Victor Haffreingue / nobe_4

08/03/2016 at 07:34PM

15
#46 - Jack McCallum / JaqMcCallum

08/03/2016 at 08:38PM

15
#47 - James / Dronak

08/03/2016 at 11:18PM

15
#48 - 王运 / 640138017

08/04/2016 at 12:52AM

15
#49 - f00b8tr / f00b8tr5

08/04/2016 at 05:47AM

15
#50 - Cristian Lupașcu / clupasq

08/04/2016 at 07:12AM

15
#51 - Perry van Schaijk / PvSchaijk

08/04/2016 at 08:29AM

15
#52 - Jan Bundesmann / ixjab

08/04/2016 at 11:14AM

15
#53 - Tautvilas / TautviIas

08/04/2016 at 01:37PM

15
#54 - Arijus / argshook

08/04/2016 at 01:38PM

15
#55 - Martynas Bardauskas / mbardauskas

08/04/2016 at 01:44PM

15
#56 - CoffeeIntoCode / _coffeeintocode

08/04/2016 at 04:23PM

15
#57 - no / masongclayton

08/05/2016 at 12:54AM

15
#58 - Walker Boh / walker_boh

08/05/2016 at 08:25AM

15
#59 - Sarang Khim / sarang_khim

08/05/2016 at 12:55PM

15
#60 - Aaron Ogan / aaronogan

08/06/2016 at 07:13PM

15
#61 - Jess Wong / Jess199Jess

08/10/2016 at 05:02PM

15
#62 - some call me mattp / mattpep

08/11/2016 at 11:47AM

15
#63 - Jan Liu / MaglevGankTrain

08/11/2016 at 01:06PM

15
#64 - Jordan Wightman / tuo2

08/13/2016 at 11:47AM

15
#65 - Will / w_labranche

08/13/2016 at 08:57PM

15
#66 - Andreas Norrstig / norrstig

08/21/2016 at 02:32PM

15
#67 - jj johnson / jcassj1

08/22/2016 at 03:33PM

15
#68 - Netrisk Cool / C00lt0

09/30/2016 at 10:03AM

15
#69 - Axl Waii / axlwaii

10/02/2016 at 02:26PM

15
#70 - TweetDreams / TweetMusicians

10/08/2016 at 11:24PM

15
#71 - Kyouma / kyoumaJohn

10/14/2016 at 03:01PM

15
#72 - Alan Turing / alantrng

11/28/2016 at 11:27PM

15
#73 - Sven R / Sven73de

01/06/2017 at 10:48AM

15
#74 - Eduardo Hashimoto / eduhashi

02/16/2017 at 12:17AM

15
#75 - Raymond Chee / rchomium

03/05/2017 at 05:53AM

15
#76 - Daniel / Daniel00288663

03/30/2017 at 12:36PM

15
#77 - Kevin Ash / ashkevinm

04/14/2017 at 04:46PM

15
#78 - Alex Linden / alexwlinden1

04/25/2017 at 08:50PM

15
#79 - Sam Hammer / samhammer325

05/06/2017 at 07:10PM

16
#80 - roboguy / roboguy

08/05/2016 at 07:06AM

16
#81 - Micha / michman89

08/06/2016 at 03:32PM

16
#82 - ♜ José Doval / pepellou

08/08/2016 at 04:52PM

16
#83 - Clark DuVall / theclarkatron

10/06/2016 at 01:55AM

16
#84 - jn / j1357924

10/19/2016 at 07:17PM

16
#85 - Liam S Ismail / AC01Y

04/05/2017 at 12:18AM

17
#86 - Marek Wawrzos / putisPenser

08/08/2016 at 07:25AM

17
#87 - Oliver Christ / 0liverChrist

08/28/2016 at 07:57PM

17
#88 - Constantine / ConstantineHatz

09/16/2016 at 06:53PM

17
#89 - Hans Yelek / hans_yelek

01/13/2017 at 07:28PM

17
#90 - Yann / yannstadnicki

02/25/2017 at 08:38AM

18
#91 - 逆飞的鱼 / fly2never

08/04/2016 at 12:41AM

18
#92 - Luke Was / acatalepteron

08/13/2016 at 02:33AM

18
#93 - Nabarun Chatterjee / nabarunch

08/16/2016 at 06:12PM

18
#94 - Christian Rondeau / c_rondeau

10/16/2016 at 04:36PM

25
#95 - javier castro / eusipial

09/19/2016 at 04:35AM

53
#96 - Richard Laub / RWLaub91

08/07/2016 at 05:38AM