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

By hitting Esc or C-[ and then using command-mode commands.  Just
like in vi.

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

Command mode provides basically the full complement of vi operators,
not just j/k.  If you never want vi command mode I don't understand
why you wouldn't want to use the emacs keymap, which by default is
far more powerful than viins.

-- 
vq




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