From: Steve Dondley <s@dondley.com>
To: "Lawrence Velázquez" <larryv@zsh.org>
Cc: zsh-users@zsh.org
Subject: Re: How do I disable the mode for using j-k keys to scroll through history?
Date: Tue, 15 Mar 2022 19:57:32 -0400 [thread overview]
Message-ID: <6c018d963db482bbcd5d3a10a126b4b2@dondley.com> (raw)
In-Reply-To: <1de17322-d766-4d27-b2b2-36ccbec998f8@www.fastmail.com>
On 2022-03-15 07:27 PM, Lawrence Velázquez wrote:
> On Tue, Mar 15, 2022, at 6:57 PM, Steve Dondley wrote:
>> On 2022-03-15 06:55 PM, Steve Dondley wrote:
>> At a minimum, I need to change the bind key for entering command mode
>> so
>> it's not accidentally triggered.
>
> To remove the default binding:
>
> % bindkey -vr '^['
>
> To set a new one -- for example, C-p:
>
> % bindkey -v '^P' vi-cmd-mode
Yes, this is what finally worked. Thanks! The other way I posted about
earlier was not actually working.
I've bound to it to '^V' instead, though.
next prev parent reply other threads:[~2022-03-15 23:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-15 22:38 Steve Dondley
2022-03-15 22:46 ` Bart Schaefer
2022-03-15 22:55 ` Steve Dondley
2022-03-15 22:57 ` Steve Dondley
2022-03-15 23:24 ` Steve Dondley
2022-03-15 23:25 ` Bart Schaefer
2022-03-15 23:27 ` Lawrence Velázquez
2022-03-15 23:57 ` Steve Dondley [this message]
2022-03-15 23:59 ` Bart Schaefer
2022-03-15 23:24 ` Lawrence Velázquez
2022-03-15 23:47 ` Steve Dondley
2022-03-16 0:21 ` Steve Dondley
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=6c018d963db482bbcd5d3a10a126b4b2@dondley.com \
--to=s@dondley.com \
--cc=larryv@zsh.org \
--cc=zsh-users@zsh.org \
/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).