From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id DAA20777 for ; Thu, 20 Jun 1996 03:03:50 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id MAA21901; Wed, 19 Jun 1996 12:45:08 -0400 (EDT) Resent-Date: Wed, 19 Jun 1996 12:45:08 -0400 (EDT) From: "J.D. Laub" Message-Id: <199606191644.KAA199639@clinicom.com> Subject: zsh, vi mode, vihistorysearchbackward To: zsh-workers@math.gatech.edu Date: Wed, 19 Jun 1996 10:44:27 -0600 (MDT) Organization: The Psychiatric Ward of Terrors X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"6cber3.0.7M5.Jw2on"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1363 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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