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):
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

14
#43 - 杨洋 / @176795444

07/16/2017 at 10:05AM

14
#44 - Turkey Man / @lvturkeyman

11/23/2017 at 06:03AM

14
#45 - martin tourneboeuf / @martintournebo1

02/05/2018 at 08:25PM

14
#46 - Veljko Dimic / @v2dimic

02/07/2018 at 09:52PM

14
#47 - azzal07 / @azzal07

03/08/2018 at 06:56PM

14
#48 - DHM / @DHM29978992

04/30/2018 at 02:45AM

14
#49 - Daniël De Koker / @daniel_koker

07/11/2018 at 05:18AM

14
#50 - Dax / @zacoxi

12/12/2018 at 08:10AM

14
#51 - Timur Celik / @clktmr

12/22/2018 at 06:26PM

14
#52 - alekfed / @alek_fed

04/20/2019 at 07:00AM

14
#53 - majo senf / @majo_senf

06/25/2019 at 10:59AM

14
#54 - vimgolfer / @vimgolfer7

10/11/2019 at 01:04PM

14
#55 - Melvin Cheung / @MelvinCheung

11/13/2019 at 07:17AM

14
#56 - Lory / @Lory46845742

12/04/2019 at 03:55PM

14
#57 - Miłosz Łakomy / @foobar01123

02/03/2020 at 03:50PM

14
#58 - RockerZZY / @rocker_zzy

06/27/2020 at 01:30AM

15
#59 - Smylers / @Smylers2

08/03/2016 at 03:42PM

15
#60 - Diego Anaya Mancilla / @mancilladev

08/03/2016 at 06:55PM