Advertisement

01.22.2008 at 01:09AM PST, ID: 23100521 | Points: 250
[x]
Attachment Details

Redo last command in vi editor

Asked by mj62mj62 in vi

Tags: ,

Hello,

In vi on Solaris (:ver returns - Version SVR4.0, Solaris 2.5.0) how to I see the list of commands I've typed?

For instance, I may have used s/1/2 or :%s/234/567/g and would like to be able to scroll through the history and repeat a given command.  Or at least be able to redo my last command.

Using up-arrow after typing : does not accomplish this.

Thank You!Start Free Trial
 
Loading Advertisement...
 
[+][-]01.22.2008 at 04:42AM PST, ID: 20713657

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.22.2008 at 05:47AM PST, ID: 20714085

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.22.2008 at 06:01AM PST, ID: 20714185

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.25.2008 at 06:32AM PST, ID: 20742768

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 07:39AM PDT, ID: 21973843

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628