You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to utilize the up and down arrow keys for the key bindings listed below, but the current plugin is preventing me from doing so. I am able to access my desired key bindings if I execute the source .zshrc command, however, this action must be performed each time. Alternatively, when I commented out the plugin, the functionality operated as expected. I would appreciate your assistance in resolving this issue.
@jeffreytse I have run into the same problem, and it is driving me quite insane. 😉 Using ZVM as an Oh My Zsh plugin, my ~/.zshrc contains this:
# Extend OMZ plugin list
plugins+=(
zsh-autosuggestions
zsh-history-substring-search
zsh-syntax-highlighting
zsh-vi-mode
)
# ... More setup, including OMZ activation ...
# Last lines in .zshrc
bindkey '^[OA' history-substring-search-up
bindkey '^[OB' history-substring-search-down
Activating zsh-vi-mode like shown above breaks the key bindings used for zsh-history-substring-search. As soon as I disable ZVM, things are working again.
This bug affects me badly, because using the up-arrow to search Zsh history is deeply embedded in my muscle memory.
General information
Basic examination
Problem description
I would like to utilize the up and down arrow keys for the key bindings listed below, but the current plugin is preventing me from doing so. I am able to access my desired key bindings if I execute the
source .zshrc
command, however, this action must be performed each time. Alternatively, when I commented out the plugin, the functionality operated as expected. I would appreciate your assistance in resolving this issue.Reproduction steps
Expected behavior
...
The text was updated successfully, but these errors were encountered: