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 4d6f45b938c0aa691b000003

Recursively Palindrome

Note that there are 2^6-1 characters.

Start file
6
End file
abacabadabacabaeabacabadabacabafabacabadabacabaeabacabadabacaba

View Diff

1c1
< 6
---
> abacabadabacabaeabacabadabacabafabacabadabacabaeabacabadabacaba

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 50 remaining solutions by signing in and submitting your own entry
#51 Michał Taszycki / mehowte - Score: 33 - 03/05/11 @ 19:30
Cab<Esc>qqy0$pqAc<Esc>@qad<Esc>@@ae<Esc>@@af<Esc>@@ZZ

0 comments


#52 tomb0y / tomb0_0y - Score: 34 - 05/29/17 @ 19:36
sdedfded<Esc>:s/d/abacabadabacaba/g<CR>ZZ

0 comments


#53 William Dunand / wdunand - Score: 36 - 11/08/11 @ 01:52
:se nf=alpha<CR>raqq:%y<CR>pG<C-A>q5@qD:%j!<CR>ZZ

0 comments


#54 Will Gray / graywh - Score: 37 - 03/16/11 @ 17:33
sabacaba<Esc>:%y<CR>od<Esc>p@:oe<Esc>pG@:of<Esc>p:%j!|x<CR>

0 comments


#55 Quota / Quotad - Score: 37 - 02/11/14 @ 16:45
sdedfded<Esc>:s/d/cdc/g<CR>:s/c/abacaba/g<CR>ZZ

0 comments


#56 無ん垢の叫び / john_ababa - Score: 39 - 02/27/12 @ 11:50
Caba<Esc>ac<C-A>d<C-A>c<C-A>e<C-A>c<C-A>d<C-A>c<C-A>f<C-A>c<C-A>d<C-A>c<C-A>e<C-A>c<C-A>d<C-A>c<C-A><Esc>ZZ

0 comments


#57 Steven Occhipinti / steveocchipinti - Score: 40 - 03/12/11 @ 11:24
:set nf=alpha<CR>saba<Esc><Left>qqvy<End>p<C-A>y0<End>p`.<Left>q3@qZZ

steveocchipinti: Not efficient, but I wanted to see if I could use some sort of recursion-like method :P

1 comment


#58 Milan Dobrota / milandobrota - Score: 41 - 11/20/11 @ 22:01
x16iabac<Esc>xFc;rd;;re;;rd;;rf;;rd;;re;;rdZZ

0 comments


#59 こばばー / symmet - Score: 42 - 04/30/11 @ 09:00
8iabacaba<Esc><Esc>/aa<CR>ad<Esc>2n.2n.2n.Nae<Esc>2N.naf<Esc>$xZZ

0 comments


#60 knut ytterhaug / knutemann - Score: 47 - 11/23/11 @ 18:58
Cdedfded <Esc><Left>^iabacaba<Esc><Right><Right>.<Right><Right>.<Right><Right>.<Right><Right>.<Right><Right>.<Right><Right>.<Right><Right>.<Right><Esc>xZZ

0 comments


#61 Angela Harms / angelaharms - Score: 48 - 01/18/12 @ 01:21
Didedfded<Esc>:s/\(.\)/bcb\1/g<CR>Abcb<Esc>:<Up><Left><Left><Left><Left><BS><BS><BS>a<CR>Aa<Esc>ZZ

0 comments


#62 Ben Sherman / bensherman - Score: 67 - 10/02/11 @ 05:20
Cabacabadabacabaeabacabadabacabafabacabadabacabaeabacabadabacaba<Esc>ZZ

0 comments


#63 boxcar willy / goodbobhunting - Score: 122 - 10/16/15 @ 21:05
i<Esc>14iaba<Esc><CR>uuuuuiaba<Esc>uuuu16iaba<CR><BS><Esc>uuuuuuuuuuuuu16iaba<Esc><CR>lx^klllic<Right><Right><Right>d<Right><Right><Right>c<Right><Right><Right>e<Right><Right><Right>c<Right><Right><Right>d<Right><Right><Right>c<Right><Right><Right>f<Right><Right><Right>c<Right><Right><Right>d<Right><Right><Right>c<Right><Right><Right>e<Right><Right><Right>c<Right><Right><Right>d<Right><Right><Right>c<Esc>ZZ

0 comments


Created by: beingryu

63 active golfers, 204 entries

Leaderboard (lowest score wins):
6
#1 - Evgeny`s Kindle / EvgenyKindle

05/02/2018 at 07:26AM

21
#2 - ParasamGateZero / ParasamGateZero

01/25/2018 at 06:18PM

22
#3 - Urtica dioica / udioica

12/10/2012 at 04:59AM

22
#4 - John Braxler / braxler

08/11/2014 at 06:06PM

22
#5 - Andy Novocin / AndyNovocin

10/16/2015 at 09:41PM

22
#6 - Jon Krause / jkrause314

01/29/2016 at 11:40PM

22
#7 - trx / trxdbg

10/17/2016 at 09:59AM

23
#8 - Beau Dacious / nocash

03/19/2011 at 11:55PM

23
#9 - Andrew Dorman / andydorman

03/22/2011 at 09:09AM

23
#10 - Mathias Bynens  / mathias

04/08/2011 at 07:59AM

23
#11 - Dragan Cvetinovic / kawkafi

05/21/2011 at 01:42PM

23
#12 - Tim Chase / gumnos

06/05/2011 at 06:28PM

23
#13 - Johan Sveholm / rymdtjuren

07/21/2011 at 07:58AM

23
#14 - Hu Junfeng / junfeng

08/03/2011 at 08:53AM

23
#15 - Tim Tsu / vimgolfpunk

09/04/2011 at 12:03AM

23
#16 - Mohammed / mbadran

09/04/2011 at 08:28AM

23
#17 - Justin Love / wondible

09/10/2011 at 01:35PM

23
#18 - You-Siang Lin / yslinnctu

11/29/2011 at 08:03AM

23
#19 - Jakub Arnold / darthdeus

12/19/2011 at 03:56PM

23
#20 - Renat Aksitov / Korvin79

02/18/2012 at 07:02AM

23
#21 - Kerson Hsiao / KersonHsiao

07/10/2012 at 03:35PM

23
#22 - Trevor Powell / DoomedBunnies

03/20/2013 at 04:34AM

23
#23 - Zapata / Incredible_JFP

03/19/2014 at 06:14PM

23
#24 - ben / bpaqd

01/23/2015 at 01:47PM

23
#25 - Dimitar Dimitrov / kurkale6ka

09/14/2016 at 04:39PM

24
#26 - vg / vimgolfer

03/03/2011 at 03:36PM

24
#27 - xhtmlforum / xhtmlforum

03/03/2011 at 03:56PM

24
#28 - Oleg Roshupkin / jjjahson

03/04/2011 at 05:05AM

24
#29 - h_east (トロッコ6個) / h_east

03/05/2011 at 12:22AM

24
#30 - Wei Dai / clvv42

03/05/2011 at 05:11AM