Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Picking parameters from last but one command
- X-seq: zsh-users 11105
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Picking parameters from last but one command
- Date: Sun, 7 Jan 2007 17:51:43 +0000
- In-reply-to: <Xns98B1B48FA5125zzappergmailcom@xxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Xns98B0C395F8C8Ezzappergmailcom@xxxxxxxxxxx> <20070106194204.GB10778@princo> <Xns98B1B48FA5125zzappergmailcom@xxxxxxxxxxx>
- Sender: Stephane Chazelas <stephane_chazelas@xxxxxxxx>
On Sun, Jan 07, 2007 at 05:45:00PM +0000, zzapper wrote:
> 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 
[...]
See also
vi <Alt-_><Alt-_>
(in emacs mode)
-- 
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author