zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@fysh.org>
To: Clint Adams <schizo@debian.org>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Re: vicmd bindings
Date: Mon, 18 Dec 2000 00:27:35 +0000 (GMT)	[thread overview]
Message-ID: <E147o9P-0005wQ-00@crucigera.fysh.org> (raw)
In-Reply-To: <20001216112057.C14538@dman.com> from Clint Adams at "Dec 16, 2000 11:20:57 am"

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


  reply	other threads:[~2000-12-18  0:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-15 22:20 Clint Adams
2000-12-16 16:20 ` PATCH: " Clint Adams
2000-12-18  0:27   ` Zefram [this message]
2000-12-18 17:02     ` Clint Adams
2000-12-20 18:09       ` Zefram
2000-12-21 13:28         ` Clint Adams
2000-12-22 19:27           ` Zefram
2000-12-16 18:08 ` Bart Schaefer
2000-12-20  1:57   ` Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E147o9P-0005wQ-00@crucigera.fysh.org \
    --to=zefram@fysh.org \
    --cc=schizo@debian.org \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).