mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-28 14:20:20 +00:00
Ctrl-C doesn't accept any search result
This commit is contained in:
parent
8d0e727200
commit
f2f3493056
1 changed files with 3 additions and 2 deletions
|
@ -125,8 +125,9 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
|
|||
zle -N backward-delete-char _zhcw_backward_delete_char
|
||||
zle -N delete-char _zhcw_delete_char
|
||||
|
||||
zle recursive-edit -K zhcw
|
||||
if zle recursive-edit -K zhcw; then
|
||||
BUFFER="${__hsmw_hcw_found[__hsmw_hcw_index]}"
|
||||
fi
|
||||
zle -M ""
|
||||
|
||||
zle -A saved-self-insert self-insert
|
||||
|
|
Loading…
Reference in a new issue