[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vi and quoted strings ...



> > Is there a way to re-do my search string so I don't have to keep
> > re-typing it in ?
>
>  '&' repeats the last substitution (but ignores modifiers like /g).

At least in vim you can always look in the history for your command (even 
if the command has been from another vim session). Simply type ':' and 
move around with the up/down arrows.

Btw. this works also when searching: After typing the '/' up/down arrows 
can be used there, too...

Johannes
-- 
"More than machinery we need humanity" -- Charlie Chaplin, The Great 
Dictator



Reply to: