jeffreytse / zsh-vi-mode

💻 A better and friendly vi(vim) mode plugin for ZSH.
MIT License
2.99k stars 103 forks source link

Custom escape keys breaks CTRL-r history search #145

Closed redpublic closed 9 months ago

redpublic commented 2 years ago

General information

Custom escape keys breaks CTRL-r history search.

Basic examination

Problem description

If you redefine ZVM_VI_INSERT_ESCAPE_BINDKEY, it's not possible to enter first character of escape key in CTRL-r history search. You exit the search mode.

Reproduction steps

  1. Redefine with ZVM_VI_INSERT_ESCAPE_BINDKEY=fd
  2. Enter history search mode with CTRL-r
  3. Enter f character
  4. Search mode is cancelled, f is inserted in command line

Expected behavior

CTRL-r history search works as usually

jeffreytse commented 1 year ago

Hi @redpublic

Thanks for your reporting, I will try to fix this issue as soon as possible, please be patient. : )

Thanks & Regards

jeffreytse commented 1 year ago

Hi @redpublic

Thanks for your patience, now this issue has been addressed and fixed. Welcome to update to the HEAD version to give it a glance. : )

Thanks & Regards

redpublic commented 9 months ago

Hi @jeffreytse,

Thanks a lot, it works!