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?
- X-seq: zsh-users 27554
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Steve Dondley <s@xxxxxxxxxxx>
- Cc: Zsh users <zsh-users@xxxxxxx>
- Subject: Re: How do I disable the mode for using j-k keys to scroll through history?
- Date: Tue, 15 Mar 2022 15:46:28 -0700
- Archived-at: <https://zsh.org/users/27554>
- In-reply-to: <3b61b4343181cb58d9ff6f71905666d9@dondley.com>
- List-id: <zsh-users.zsh.org>
- References: <3b61b4343181cb58d9ff6f71905666d9@dondley.com>
On Tue, Mar 15, 2022 at 3:38 PM Steve Dondley <s@xxxxxxxxxxx> wrote:
>
> I finally just figured out that I had somehow entered some special mode
> that activates the "j" and "k" keys to pull up prev/next commands.
You're using vi mode, so ESC enters vi command mode (as opposed to vi
editing aka insert mode), just as would happen if you hit ESC while in
vi itself.
> Through trial and error, I discovered the <esc> key triggers this mode
> and the "s" key gets out of it.
Any of "a", "i", or "s", or in a limited way "c" or "r", would return
you to insert mode, along with o, A, C, I, O, R, and S.
> Haven't figured out how to disable this feature. Google has turned up
> nothing useful after 10 min. of searching. Any ideas?
Are you sure you want to disable it? Why are you using vi commands if
you never want to be in command mode?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author