Add keybinding workarounds for xterm
This commit is contained in:
parent
fb10f2bc55
commit
2bf6d037d4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user