Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How do I disable the mode for using j-k keys to scroll through history?
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@xxxxxxxxxxx> 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.
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author