Lance --

...and then Lance Simmons said...
% On Thu, Nov 01, 2001 at 01:28:01PM -0500, David T-G wrote:
% > 
% > Not directly, AFAIK, but a macro to remap 'c' and 'q' to first set $move
% > before continuing the operation might do the trick nicely.  Something like
% > 
% >   macro index c "set move=no;<change-folder>"
% >   macro index q "set move=ask-no;<quit>"
% 
% I can't seem to get this to work. Can you set variables in a macro?

I never said it was guaranteed; it's untested code :-)  Yes, you can set
variables in macros, or do just about anything else (I actually have
found one thing that I can't yet macro or push, but I haven't had time to
try it even further...).

Check the manual for more on how to create macros; this seems like pretty
straightforward stuff.  Maybe you need an <enter> instead of a semicolon
to separate the commands, it occurs to me as I read them again...


% 
% -- 
% Lance Simmons


:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

PGP signature

Reply via email to