From: "J.D. Laub" <jdl@clinicom.com>
To: zsh-workers@math.gatech.edu
Subject: zsh, vi mode, vihistorysearchbackward
Date: Wed, 19 Jun 1996 10:44:27 -0600 (MDT) [thread overview]
Message-ID: <199606191644.KAA199639@clinicom.com> (raw)
I've a question with the following revision:
% rcsdiff -r1.7 -r1.8 zle_bindings.c
2c2
< * $Id: zle_bindings.c,v 1.6 1995/03/11 06:17:29 [name omitted to protect the good-intentioned 8-) ]
---
> * $Id: zle_bindings.c,v 1.7 1995/03/20 22:11:36 [name omitted to protect the good-intentioned 8-) ]
[...]
541c547
< /* / */ z_vihistorysearchbackward,
---
> /* / */ z_vihistorysearchforward,
557c563
< /* ? */ z_vihistorysearchforward,
---
> /* ? */ z_vihistorysearchbackward,
The above mappings appear in vicmdbind, and my question concerns
running zsh in vi mode.
I can see how "/" should seem to be "search forward" and "?" should be
"search backward", but this works exactly opposite as it did before.
Most of the time I want to just hit "ESC-/" to search back a few lines
to a previous command, but with the above (default) bindings I have to
add the shift key to make it "ESC-?", which is more awkward.
I've used a couple bindkeys in my own .zshrc to switch the two
functions (putting "backwards" back on "/"), but I'm pushing others
here to switch from ksh to zsh, and I think the default behavior
will confuse them (since the default bindings work exactly opposite
as ksh in vi mode). Anybody (dis)agree with switching them back?
Discussion?
--
J.D. Laub (Laubster) HBOC/CliniCom|"I think you're very, very, very, very, very,
jdl@clinicom.com Boulder,CO |very, very, very, very, ..." - Flying Lizards
next reply other threads:[~1996-06-19 17:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-19 16:44 J.D. Laub [this message]
1996-06-19 17:04 ` Zefram
1996-06-19 18:01 ` Hrvoje Niksic
1996-06-19 19:21 ` Zefram
1996-06-19 18:58 ` Barton E. Schaefer
1996-06-19 22:47 ` Richard Coleman
1996-06-20 0:10 ` Vinnie Shelton
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=199606191644.KAA199639@clinicom.com \
--to=jdl@clinicom.com \
--cc=zsh-workers@math.gatech.edu \
/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).