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):
22
#331 - Ryan van Rensburg / @rdvr001

07/21/2016 at 10:55AM

22
#332 - karcaw / @karcaw

09/14/2016 at 05:07AM

22
#333 - Zdravko Colic / @virtual_key

09/14/2016 at 09:25AM

22
#334 - John Barbero Unenge / @JBarberU

10/19/2016 at 01:23PM

22
#335 - jn / @j1357924

10/19/2016 at 07:28PM

22
#336 - Michał Dytko / @DytkoM

12/21/2016 at 11:28AM

22
#337 - Hans Yelek / @hans_yelek

01/12/2017 at 12:59AM

22
#338 - Alexander Gryson / @agryson

05/02/2017 at 05:14AM

22
#339 - Edouard Piette / @EdPiette

05/11/2017 at 02:54PM

22
#340 - Francesco Sacchi / @depsir

07/13/2018 at 08:08AM

22
#341 - Sachin Akula / @AkulaSachin

07/31/2018 at 04:05PM

22
#342 - PJ Frazer / @pj_frazer

11/22/2018 at 05:49PM

22
#343 - Maas Lalani / @maaslalani

12/05/2018 at 08:42PM

22
#344 - wrglprmft1 / @wrglprmft1

01/26/2019 at 02:39PM

22
#345 - theBecwar / @thebecwar

08/19/2019 at 08:03PM

22
#346 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 07:38PM

22
#347 - mevmev / @mevmev8

08/25/2021 at 03:39PM

22
#348 - luke37842 / @luke37842

05/14/2024 at 07:36PM

23
#349 - James Pringle / @mathbyjames

02/16/2015 at 05:36PM

23
#350 - Dmitry Zudochkin / @zudochkin

02/17/2015 at 07:26PM

23
#351 - Jordan Eldredge / @captbaritone

03/07/2015 at 05:28AM

23
#352 - Deepak Surti / @dmsurti

03/13/2015 at 03:47PM

23
#353 - Alice Benign / @AliceBenign

03/29/2015 at 01:18PM

23
#354 - matthieu le grix / @mlegrix

04/07/2015 at 09:23PM

23
#355 - Michael Cramer / @mlcramer

04/11/2015 at 12:09PM

23
#356 - Chad / @__chad__

04/15/2015 at 08:22PM

23
#357 - David Rogers / @al_the_x

05/28/2015 at 03:31AM

23
#358 - Joel Gallant / @joelg236

06/05/2015 at 12:34AM

23
#359 - lumi / @lumi_woking

06/19/2015 at 09:14PM

23
#360 - Mikołaj Morzy / @MikolajMorzy

06/21/2015 at 09:26AM