http://www.perlmonks.org?node_id=400904


in reply to OT: Towers of Hanoi: emacs
in thread Recursion: The Towers of Hanoi problem

And for those that might use vim you can type:

:so /usr/share/vim/macros/hanoi/hanoi.vim <ret> g
But to be honest it is a bit fast to be interesting ;-)

/J\

Replies are listed 'Best First'.
Re^2: OT: Towers of Hanoi: emacs
by kutsu (Priest) on Dec 21, 2004 at 21:23 UTC

    if you have vim version 61 they changed the default share directory: /usr/share/vim/vim61/macros/hanoi/hanoi.vim, regardless locate hanoi (or window find hanoi) should reveal it's location. So that's:

    :so /usr/share/vim/vim61/macros/hanoi/hanoi.vim g

    "Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce

Re^2: OT: Towers of Hanoi: emacs
by Anonymous Monk on Oct 21, 2004 at 08:05 UTC
    Can't open file /usr/share/vim/macros/hanoi/hanoi.vim
    Guess not for every vim.

    PICO RULZ!