SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: kenkahn on February 01, 2007, 02:47:03 pm

Title: Listing Command Line History
Post by: kenkahn on February 01, 2007, 02:47:03 pm
Is there a built-in command or available macro that will list out the command line history, allowing selection of an entry?  There used to be one in the macro download section (many years ago) but I don't see it any longer.  I often enter some elaborate replace commands; I can recall them one at a time using the arrow keys, but it would make life easier if I could list all previous commands and select the one I need.
Title: Re: Listing Command Line History
Post by: hs2 on February 01, 2007, 04:04:08 pm
A while ago I've written macro support for that...
Just load the attached module and use ListCommands on cmdline or bind it to a key ...

Have fun,

HS2
Title: Re: Listing Command Line History
Post by: kenkahn on February 01, 2007, 05:32:30 pm
Exactly what I was looking for.. Thanks...
Title: Re: Listing Command Line History
Post by: kenkahn on February 02, 2007, 01:53:15 am
If possible, I'd like to copy some of the commands between SE's running on different systems.  Where is the command history kept?  I couldn't find it anywhere.
Title: Re: Listing Command Line History
Post by: hs2 on February 02, 2007, 09:20:44 am
It's stored in <slick config dir>\vrestore.slk.

HS2
Title: Re: Listing Command Line History
Post by: Lisa on February 02, 2007, 10:52:06 pm
Great thread, and the command history location needs to be documented. Duly noted.

-Lisa