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


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

140 active golfers, 295 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