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

0 comments


#58 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

58 active golfers, 139 entries

Leaderboard (lowest score wins):
17
#31 - Xinruo Sun / @xiaoruoruo

12/23/2012 at 12:31PM

17
#32 - Édouard M'tou / @DouardM

12/23/2012 at 01:56PM

17
#33 - Alec Goebel / @zego5360

01/03/2013 at 08:54PM

17
#34 - Vito / @GodFather

03/16/2013 at 06:29PM

17
#35 - Sofia Balicka / @so_phifi

03/29/2013 at 07:57PM

17
#36 - cj / @cj01101

08/26/2013 at 10:24PM

17
#37 - RockerZZY / @rocker_zzy

08/28/2020 at 01:48PM

18
#38 - Woojung Kim 김우중 / @_kimwz

07/16/2013 at 04:14AM

19
#39 - Francois Picalausa / @fpicalausa

12/22/2012 at 11:43PM

19
#40 - Piotr Śniegowski / @PiotrSniegowski

06/06/2013 at 12:10AM

19
#41 - apof / @9pof

09/13/2013 at 10:21AM

28
#42 - jk / @kewnapse

12/22/2012 at 11:48PM

28
#43 - David Stockton / @dstockto

12/31/2012 at 05:38AM

28
#44 - Greg Sabo / @gregsabo

01/02/2013 at 03:58PM

28
#45 - Matt Redding / @MattRedding

02/18/2013 at 10:25AM

28
#46 - Thomas Reggi / @thomasreggi

03/28/2013 at 05:13AM

28
#47 - Tullio Facchinetti / @toolleeo

07/25/2013 at 12:01PM

28
#48 - Marcin Szamotulski / @me_coot

10/23/2013 at 10:59AM

28
#49 - US Dollar Price / @USDollarPrice

11/04/2013 at 11:33PM

28
#50 - Ram Tamtam / @ramtamtamtam

07/04/2014 at 02:01PM

28
#51 - ltn614 / @ltn614

10/10/2015 at 09:01AM

29
#52 - Sean Anderson / @sean_anderson

04/29/2013 at 09:28AM

29
#53 - James / @Dronak

09/19/2014 at 10:29PM

31
#54 - Javi Polo / @javipolo

05/13/2013 at 09:19AM

34
#55 - brett / @brettyukich

09/22/2013 at 10:34PM

39
#56 - まがい / @xxmagai

03/04/2015 at 02:57AM

43
#57 - faul_sname / @faul_sname

12/24/2012 at 11:52PM

43
#58 - Andrew Hlavats / @farthestworld

02/24/2013 at 07:01PM