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 50d62c51162fd30002000052

REDRUM

If you remember "The Shinning", the first time you saw the bloody word REDRUM you probably thinked "What the Hell is that?" Well, then you know that you need a little help from a looking-glass to make sense of it. Now it's time to use vim like a mirror to reveal the message.

Start file
nac uoy ro ,rorrim a ni siht daer ot evah uoy ,redrum eht hctac ot tnaw uoy fI
); miV esu

.omodrojam eht ...si redrum ehT
End file
If you want to catch the murder, you have to read this in a mirror, or you can
use Vim ;)

The murder is... the majordomo.

View Diff

1,2c1,2
< nac uoy ro ,rorrim a ni siht daer ot evah uoy ,redrum eht hctac ot tnaw uoy fI
< ); miV esu
---
> If you want to catch the murder, you have to read this in a mirror, or you can
> use Vim ;)
4c4
< .omodrojam eht ...si redrum ehT
---
> The murder is... the majordomo.

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 54 remaining solutions by signing in and submitting your own entry
#55 faul_sname / @faul_sname - Score: 43 - 12/24/12 @ 23:52
:%s/$/|/g<CR>qqxf|p0q99@qrTkdlk99@qruk99@qrIZZ

0 comments


#56 Andrew Hlavats / @farthestworld - Score: 43 - 02/24/13 @ 19:01
:%s/$/|/g<CR>qqxf|p0q99@qrTkdlk99@qruk99@qrIZZ

0 comments


Created by: @joe_di_castro

56 active golfers, 131 entries

Leaderboard (lowest score wins):
14
#1 - DR / @dde81

12/22/2012 at 11:50PM

14
#2 - Tim Chase / @gumnos

12/23/2012 at 12:12AM

14
#3 - Urtica dioica / @udioica

12/23/2012 at 12:42AM

14
#4 - Kerson Hsiao / @KersonHsiao

12/23/2012 at 07:35AM

14
#5 - h_east (トロッコ6個) / @h_east

12/23/2012 at 03:45PM

14
#6 - Hubba / @HubbaBubbaFett

12/25/2012 at 07:52AM

14
#7 - Trevor Powell / @DoomedBunnies

01/29/2013 at 11:56PM

14
#8 - Steve Tjoa / @stevetjoa

02/03/2013 at 10:44PM

14
#9 - Zach Kelling / @zeekay

02/23/2013 at 08:09AM

14
#10 - Joel Elkins / @dice_tea

03/03/2013 at 05:15AM

14
#11 - GimVolfer VimGolfer / @GimGol

03/07/2013 at 03:09PM

14
#12 - Marco Hinz / @_mhinz_

05/28/2013 at 08:33AM

14
#13 - Ingo / @ist3fani

05/30/2013 at 05:42PM

14
#14 - Bradd Szonye / @bszonye

07/15/2013 at 06:13AM

14
#15 - John Braxler / @braxler

05/23/2014 at 04:24PM

14
#16 - Caek / @Caek_

08/27/2014 at 01:16PM

14
#17 - John Goes / @johnwgoes

05/13/2016 at 04:15PM

14
#18 - Daniël De Koker / @daniel_koker

07/15/2018 at 07:43AM

15
#19 - 無ん垢の叫び / @john_ababa

12/23/2012 at 09:19AM

15
#20 - Kubek2k / @kubek2k

12/30/2012 at 02:39PM

15
#21 - Vasil Sakarov / @vsakarov

01/07/2013 at 01:28PM

15
#22 - Kai Yuan / @kentyuan

03/09/2013 at 10:44PM

15
#23 - Justin / @justinjaffray

04/24/2013 at 01:01AM

15
#24 - Joonas Pihlajamaa / @jokkebk

03/15/2014 at 03:40PM

15
#25 - Jon Krause / @jkrause314

10/08/2015 at 05:32AM

16
#26 - Asmund / @herrasbe

12/24/2012 at 12:04AM

16
#27 - django unchained / @DjangoTuxg

01/19/2013 at 10:25PM

16
#28 - Tyler / @tylerbindon

03/28/2013 at 05:50PM

17
#29 - joe di castro / @joe_di_castro

12/23/2012 at 07:55AM

17
#30 - Xinruo Sun / @xiaoruoruo

12/23/2012 at 12:31PM