From: Steve Dondley <s@dondley.com>
To: 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:24:56 -0400 [thread overview]
Message-ID: <9967A553-EBDB-4E2D-8F7E-21EDACB904F7@dondley.com> (raw)
In-Reply-To: <1e2f7baa61218066c154da4a0901a7f8@dondley.com>
OK, figured it out after some trial and error. Google was about worthless on this. I did:
bindkey -M vicmd -r ^C
bindkey ^X^V vi-cmd-mode
Why ^C works for the control key I have no idea. I always thought that was ctrl-c.
> On Mar 15, 2022, at 6:57 PM, Steve Dondley <s@dondley.com> wrote:
>
> On 2022-03-15 06:55 PM, Steve Dondley wrote:
>>> Are you sure you want to disable it? Why are you using vi commands if
>>> you never want to be in command mode?
>> Because I want the insert mode commands. I have no idea how I would
>> use vi command mode from a command line. All it seems to do is annoy
>> me frequently by somehow getting accidentally triggered. I have no
>> need for traversing command history with j-k keys which is all it
>> seems to be good for.
>
> At a minimum, I need to change the bind key for entering command mode so it's not accidentally triggered.
>
next prev parent reply other threads:[~2022-03-15 23:26 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 [this message]
2022-03-15 23:25 ` Bart Schaefer
2022-03-15 23:27 ` Lawrence Velázquez
2022-03-15 23:57 ` Steve Dondley
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=9967A553-EBDB-4E2D-8F7E-21EDACB904F7@dondley.com \
--to=s@dondley.com \
--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).