mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-21 19:03:11 +00:00
Escape too cancels search
This commit is contained in:
parent
08d09d633e
commit
1e65c840f4
1 changed files with 1 additions and 0 deletions
|
@ -264,6 +264,7 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
|
|||
# A workaround for Zsh versions like 5.0.2
|
||||
zle -N _hsmw_cancel_accept
|
||||
bindkey -M hsmw "^V" _hsmw_cancel_accept
|
||||
bindkey -M hsmw "^[" _hsmw_cancel_accept
|
||||
|
||||
# Trap INT to manually interrupt Zle to work around a bug
|
||||
trap 'zle && zle .send-break' INT
|
||||
|
|
Loading…
Reference in a new issue