On Friday, 19 November 1999 at 15:02, Chris Green wrote:
> I am trying to set up a simple macro to allow me to execute a
> change-folder command with a single keystroke but I can't get it to
> work at all.
>
> However, if I put:-
>
> macro generic \e1 "c"
>
> I just get the error message "Key is not bound. Press '?' for help.",
> hitting 'c' of course just does what I expect. The help screens show
> the macro defined as I would expect.
>
> Is it not possible to send any/all keys with a macro, does it only
> work for : commands?
I don't know much about the macro facilities, but I think the problem
is you used the "generic" map. You might want to try binding your key
explicitly to the "index" and/or "pager" maps. ie try something like:
macro index \e1 c{mailandnews.co.uk}
and see what you get. Note there is no <CR>, so you are given an
opportunity to type out the rest of the path.
--
Brendan Cully <[EMAIL PROTECTED]> | OLD SKOOL ROOLZ
"I'll level with you: | .-_|\
Please let me on your show, I'd | / \
Like a day off school" | Perth ->*.--._/