ZSH Config: add delete key for backwards deletion

This commit is contained in:
Aroy-Art 2025-01-22 22:29:13 +01:00
parent 20b8c8ff68
commit 8ca28dc983
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -42,6 +42,7 @@ if [[ "${terminfo[kend]}" != "" ]]; then
bindkey "${terminfo[kend]}" end-of-line # [End] - Go to end of line bindkey "${terminfo[kend]}" end-of-line # [End] - Go to end of line
fi fi
bindkey '^[[2~' overwrite-mode # Insert key bindkey '^[[2~' overwrite-mode # Insert key
bindkey '^[[3~' delete-char # Delete key
# Navigate words with ctrl+arrow keys # Navigate words with ctrl+arrow keys
bindkey '^[Oc' forward-word # bindkey '^[Oc' forward-word #