On Sat, Nov 03, 2001 at 01:17:21PM -0500, David T-G <[EMAIL PROTECTED]> wrote: > 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...
untested! I would try ":set move=no<enter><change-folder>"