mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-22 03:13:09 +00:00
Fix delete key in default emacs keymap
This commit is contained in:
parent
df26e58f86
commit
365f6aac81
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
|
|||
[ -n "$termcap[kd]" ] && bindkey -M zhcw "$termcap[kd]" "$down_widget"
|
||||
[ -n "$terminfo[kcuu1]" ] && bindkey -M zhcw "$terminfo[kcuu1]" "$up_widget"
|
||||
[ -n "$terminfo[kcud1]" ] && bindkey -M zhcw "$terminfo[kcud1]" "$down_widget"
|
||||
[ -n "$terminfo[kdch1]" ] && bindkey -M zhcw "$terminfo[kdch1]" delete-char
|
||||
|
||||
# Substitute self-insert, backward-delete-char, delete-char
|
||||
zle -A self-insert saved-self-insert
|
||||
|
|
Loading…
Reference in a new issue