Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: copy-prev-word doesn't respect universal argument
- X-seq: zsh-users 9611
- From: Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: copy-prev-word doesn't respect universal argument
- Date: Wed, 02 Nov 2005 22:26:00 -0500
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20051102110659.0ce2c2b0.pws@xxxxxxx> (Peter Stephenson's message of "Wed, 2 Nov 2005 11:06:59 +0000")
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: EtherSoft, Inc
- References: <m38xw73e8x.fsf@xxxxxxxxxxxx> <20051102110659.0ce2c2b0.pws@xxxxxxx>
Peter Stephenson <pws@xxxxxxx> writes:
> Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> wrote:
>> Why don't copy-prev-word and copy-prev-shell-word respect the
>> universal argument?
>>
>> Given the following:
>>
>> bindkey '^XA' copy-prev-word
>> echo abc def ghi <ESC>2^XA
>>
>> I would expect the result to be
>>
>> echo abc def ghi def
>>
>> but zle seems always to copy the most recent word, ('ghi' in this
>> case), yielding:
>>
>> echo abc def ghi ghi
>>
>> no matter what the prefix arg is. I'm surprised I'm the first person
>> to request this.
>
> I think it's just a question of "when are you going to get around to
> putting up those shelves".
Looks like you did a pretty good job on this set of shelves. :-)
Thank you, Peter.
- vin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author