zsh-vi-mode
zsh-vi-mode copied to clipboard
Custom escape keys breaks CTRL-r history search
General information
Custom escape keys breaks CTRL-r
history search.
- Terminal program: iTerm2 3.4.12
- Operating system: macOS Big Sur 11.6
- ZSH framework: oh-my-zsh
- ZSH version: 5.8
- ZVM version: last master
Basic examination
- [x] I have read through the README page
- [x] I have the latest version of zsh-vi-mode
- [ ] I have tested with another terminal program
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
- Redefine with
ZVM_VI_INSERT_ESCAPE_BINDKEY=fd
- Enter history search mode with
CTRL-r
- Enter
f
character - Search mode is cancelled,
f
is inserted in command line
Expected behavior
CTRL-r
history search works as usually