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 5ebe8a63d8085e000c2f5bd5

Alphabet soup

Create a column of all alphabet characters organized in a funky way

Start file
a
End file
abcdefghijklmnopqrstuvwxyz
bcdefghijklmnopqrstuvwxyza
cdefghijklmnopqrstuvwxyzab
defghijklmnopqrstuvwxyzabc
efghijklmnopqrstuvwxyzabcd
fghijklmnopqrstuvwxyzabcde
ghijklmnopqrstuvwxyzabcdef
hijklmnopqrstuvwxyzabcdefg
ijklmnopqrstuvwxyzabcdefgh
jklmnopqrstuvwxyzabcdefghi
klmnopqrstuvwxyzabcdefghij
lmnopqrstuvwxyzabcdefghijk
mnopqrstuvwxyzabcdefghijkl
nopqrstuvwxyzabcdefghijklm
opqrstuvwxyzabcdefghijklmn
pqrstuvwxyzabcdefghijklmno
qrstuvwxyzabcdefghijklmnop
rstuvwxyzabcdefghijklmnopq
stuvwxyzabcdefghijklmnopqr
tuvwxyzabcdefghijklmnopqrs
uvwxyzabcdefghijklmnopqrst
vwxyzabcdefghijklmnopqrstu
wxyzabcdefghijklmnopqrstuv
xyzabcdefghijklmnopqrstuvw
yzabcdefghijklmnopqrstuvwx
zabcdefghijklmnopqrstuvwxy

View Diff

1c1,26
< a
---
> abcdefghijklmnopqrstuvwxyz
> bcdefghijklmnopqrstuvwxyza
> cdefghijklmnopqrstuvwxyzab
> defghijklmnopqrstuvwxyzabc
> efghijklmnopqrstuvwxyzabcd
> fghijklmnopqrstuvwxyzabcde
> ghijklmnopqrstuvwxyzabcdef
> hijklmnopqrstuvwxyzabcdefg
> ijklmnopqrstuvwxyzabcdefgh
> jklmnopqrstuvwxyzabcdefghi
> klmnopqrstuvwxyzabcdefghij
> lmnopqrstuvwxyzabcdefghijk
> mnopqrstuvwxyzabcdefghijkl
> nopqrstuvwxyzabcdefghijklm
> opqrstuvwxyzabcdefghijklmn
> pqrstuvwxyzabcdefghijklmno
> qrstuvwxyzabcdefghijklmnop
> rstuvwxyzabcdefghijklmnopq
> stuvwxyzabcdefghijklmnopqr
> tuvwxyzabcdefghijklmnopqrs
> uvwxyzabcdefghijklmnopqrst
> vwxyzabcdefghijklmnopqrstu
> wxyzabcdefghijklmnopqrstuv
> xyzabcdefghijklmnopqrstuvw
> yzabcdefghijklmnopqrstuvwx
> zabcdefghijklmnopqrstuvwxy

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 92 remaining solutions by signing in and submitting your own entry
#93 mishchea / @mishchea - Score: 90 - 08/05/21 @ 19:08
abcdefghijklmnopqrstuvwxyz<C-C><C-C>qqyyp_x$pq@q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:wq<CR>

0 comments


Created by: @argshook

93 active golfers, 392 entries

Leaderboard (lowest score wins):
48
#91 - Ifeoluwa Lawal / @IfeLawl

10/21/2020 at 03:52PM

50
#92 - Nicolas de C. / @nico2che

06/23/2021 at 01:07PM

90
#93 - mishchea / @mishchea

08/05/2021 at 07:08PM