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 54df95a4a4b28331e9000003

Space out the alphabet

Put 3 spaces between adjacent letters.

Start file
abcde
fghij
klmno
pqrst
uvwxyz
End file
a   b   c   d   e
f   g   h   i   j
k   l   m   n   o
p   q   r   s   t
u   v   w   x   y   z

View Diff

Why 3? Why spaces?

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 457 remaining solutions by signing in and submitting your own entry
#458 mojito04 / @mojito04 - Score: 166 - 04/20/25 @ 13:29
qaa   <Esc>llq.l.hhhhhhh.hhh.hhhh.jhhhhhhhhh.l.l.l.<Esc>j0.l.l..hh<Esc>xxx.iuu<Esc>uu.<BS>xx@a<Esc>kkhhhxxxhxxx<Esc>jjj0<Esc>@a.<BS><BS><Esc>h.<Esc>hhhh.lllll<Esc>xxx.<Esc>is<Esc>.<Esc>xi<Esc>@ahhhhxxx<Esc>lh@a<Esc>j0<Esc>@ah.lhl.l.l.<Esc>:ZZ<CR>:wq<CR>

0 comments


Created by: @udioica

458 active golfers, 1696 entries

Leaderboard (lowest score wins):
25
#391 - Rob Wise / @RobAWise

06/01/2015 at 11:44PM

25
#392 - Anshu Avinash / @anshu_avinash

10/18/2015 at 09:41AM

25
#393 - udreki / @udreki

02/05/2016 at 08:35PM

25
#394 - ghajkl vbehj / @cpktnwt311

04/29/2016 at 07:58AM

25
#395 - mattp (part of the 💉💉💉 club) / @mattpep

05/09/2016 at 10:49PM

25
#396 - David Gustavsson / @mrGustaphe

06/16/2017 at 08:36PM

25
#397 - grigouille / @grigouille2

07/08/2017 at 08:04PM

25
#398 - Guillaume / @WeshGuillaume

08/23/2017 at 02:25PM

25
#399 - Veljko Dimic / @v2dimic

02/07/2018 at 09:11PM

25
#400 - niwatoco / @yoshitune9

07/23/2018 at 07:12PM

25
#401 - Not real / @Notreal70353016

09/21/2018 at 09:31PM

25
#402 - Wouter Horlings / @Achilleshiel

11/08/2018 at 02:37PM

25
#403 - Harrison / @ardentcow

11/04/2019 at 11:10PM

25
#404 - vim_maxter / @MaxterVim

07/02/2021 at 12:50PM

25
#405 - Thomas / @thomaschr-dk

04/04/2026 at 02:45PM

25
#406 - Swaraj Dash / @swarajdash

05/01/2026 at 09:35PM

26
#407 - ryo_n / @ryo_n

04/04/2015 at 10:02AM

26
#408 - Agostino Hernandez / @vimagostino

07/08/2015 at 05:21PM

26
#409 - Durga Swaroop Perla / @durgaswaroop

02/04/2016 at 08:32AM

26
#410 - 白猫(zhu) / @cat2flower

06/06/2016 at 06:06AM

26
#411 - Florian Kluck / @KluckF

12/02/2017 at 10:33AM

27
#412 - d1uckym d1uckym / @d1uckym

02/14/2015 at 09:35PM

27
#413 - David Orr / @dorr91

03/23/2015 at 06:25PM

27
#414 - Adrien Fabre / @statox42

05/06/2015 at 08:50PM

27
#415 - Andrew Michaud / @andrewjmichaud

09/04/2015 at 01:02AM

27
#416 - John Clara / @johnanthclara

08/08/2016 at 08:17PM

27
#417 - Lee / @Lee94318158

12/01/2018 at 11:35AM

27
#418 - Aaron / @_Lordofthevoid_

12/02/2019 at 06:01PM

28
#419 - Arturo Volpe / @CochoVolpe

02/23/2015 at 10:36PM

28
#420 - louis sherren / @louis_sherren

02/27/2015 at 08:53AM