diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh index 28af4494..5f3f237c 100644 --- a/lib/key-bindings.zsh +++ b/lib/key-bindings.zsh @@ -53,6 +53,10 @@ fi bindkey '^?' backward-delete-char # [Backspace] - delete backward if [[ "${terminfo[kdch1]}" != "" ]]; then bindkey "${terminfo[kdch1]}" delete-char # [Delete] - delete forward +else + bindkey "^[[3~" delete-char + bindkey "^[3;5~" delete-char + bindkey "\e[3~" delete-char fi # Edit the current command line in $EDITOR