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 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

-- 
vq




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