Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Picking parameters from last but one command



Jean-Rene David <jrdavid@xxxxxxxx> wrote in news:20070106194204.GB10778
@princo:

> * zzapper [2007.01.06 14:15]:
>> >ls fred.txt
>> >cp joe sid
>> >vi LP      (where LP picks up fred.txt)
>> 
>> Better way?
> 
> Perhaps:
> 
> vi !-2:$
> 
Yep I guess that's cool (and I know that very well, must have had a blond 
moment) and pretty much invalidates what I was trying to do , just a bit of a 
pain to type 


-- 
zzapper
http://successtheory.com/tips/ Vim, Zsh, MySQL Tips



Messages sorted by: Reverse Date, Date, Thread, Author