1
0
Fork 0

Add keybinding workarounds for xterm

This commit is contained in:
tastytea 2022-04-27 23:21:50 +02:00
parent fb10f2bc55
commit 2bf6d037d4
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,11 @@ if [[ "${TERM}" =~ "^rxvt" ]]; then
bindkey '^[Ob' history-substring-search-down
fi
if [[ "${TERM}" =~ "^xterm" ]]; then
bindkey '^H' backward-delete-char
bindkey '^?' backward-delete-word
fi
bindkey '\eu' undo # Alt+u
bindkey '\eU' redo # Alt+Shift+u