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

Re: copy-prev-word doesn't respect universal argument



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