Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The up and down key behavior is overwritten, even though it has been overridden in the .zshrc file. #299

Open
kaushiksahu18 opened this issue Nov 2, 2024 · 0 comments

Comments

@kaushiksahu18
Copy link

General information

  • Terminal program: unknown unknown (xterm-kitty)
  • Operating system: Linux (6.11.5-arch1-1 Unsupported grep -P option on Mac OS #1 SMP PREEMPT_DYNAMIC Tue, 22 Oct 2024 18:31:38 +0000 x86_64 GNU/Linux)
  • ZSH framework: starship 1.21.1, zinit v3.13.1-11-gd05a5301 (linux-gnu_x86_64)
  • ZSH version: zsh 5.9 (x86_64-pc-linux-gnu)
  • ZVM version: zsh-vi-mode 0.11.0

Basic examination

  • [ x] I have read through the README page
  • [x ] I have the latest version of zsh-vi-mode
  • [x ] I have tested with another terminal program

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.

bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward

Reproduction steps

  1. add this pluin to .zshrc
  2. change bindkey

Expected behavior

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant