mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-25 04:40:21 +00:00
Override ^R with hsmw so that regular i-search doesn't interfere
This commit is contained in:
parent
8e04160835
commit
8347d80f08
1 changed files with 3 additions and 0 deletions
|
@ -203,6 +203,9 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
|
|||
# Needed for Fedora 23, zsh-5.1.1
|
||||
bindkey -M hsmw ' ' self-insert
|
||||
|
||||
# Removal of default Ctrl-R binding
|
||||
bindkey -M hsmw '^R' "$down_widget"
|
||||
|
||||
# Substitute self-insert, backward-delete-char, delete-char
|
||||
zle -A self-insert saved-self-insert
|
||||
zle -A backward-delete-char saved-backward-delete-char
|
||||
|
|
Loading…
Reference in a new issue