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?



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.




Messages sorted by: Reverse Date, Date, Thread, Author