Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: vicmd bindings
- X-seq: zsh-workers 13290
- From: Zefram <zefram@xxxxxxxx>
- To: Clint Adams <schizo@xxxxxxxxxx>
- Subject: Re: PATCH: Re: vicmd bindings
- Date: Mon, 18 Dec 2000 00:27:35 +0000 (GMT)
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <20001216112057.C14538@xxxxxxxx> from Clint Adams at "Dec 16, 2000 11:20:57 am"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Clint Adams wrote:
>> Any reason that
>>
>> "j" down-line-or-history
>> "k" up-line-or-history
>>
>> aren't vi-down-line-or-history &al. by default?
The names are misleading: the vi- versions do something quite
different from the unprefixed versions, it's not just a question
of vi and Emacs doing something differently. You'll notice that
vi-{up,down}-line-or-history are bound to "-" and "+" by default --
vi has both types of line movement. (The difference is that the "-"/"+"
versions -- the "vi-"-prefixed widgets -- move the cursor to the beginning
of the target line, rather than leaving it at the same column.)
>I'll commit this patch. It should be trivial to reverse should
>there actually be a reason for the original behavior.
Your patch is wrong and should be reversed. (I have bandwidth issues
right now so I can't reverse it myself.) Without the patch, zle
accurately imitates vi in this respect.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author