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):
40
#451 - Mark Watson / @mrkrwtsn

09/07/2018 at 07:40PM

45
#452 - Andrew Larson / @applarson

04/15/2015 at 12:50AM

46
#453 - drednaut / @By7e0B1ts

12/24/2018 at 01:58AM

49
#454 - Niru Maheswaranathan / @niru_m

04/13/2016 at 05:36AM

49
#455 - Jack Mooney / @jmooney7

02/26/2018 at 05:57AM

51
#456 - Jonathan Skeate / @jskeate

09/15/2015 at 04:53PM

53
#457 - 지형 유 / @O_hr_good7

04/05/2022 at 07:30PM

166
#458 - mojito04 / @mojito04

04/20/2025 at 01:29PM