Fix delete key in default emacs keymap

This commit is contained in:
Sebastian Gniazdowski 2016-05-24 16:44:53 +02:00
parent df26e58f86
commit 365f6aac81

View file

@ -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