[zsh/screen/tmux] force zsh to use emacs bindings for home/end/... keys
This commit is contained in:
parent
ed03a861df
commit
48fadbacfa
@ -12,8 +12,8 @@ PROMPT_COMMAND='history -a'
|
||||
|
||||
setopt append_history autocd extendedglob nomatch
|
||||
unsetopt beep
|
||||
#binding vim
|
||||
#bindkey -v
|
||||
#force emacs binding for tmux && screen
|
||||
bindkey -e
|
||||
# End of lines configured by zsh-newuser-install
|
||||
# The following lines were added by compinstall
|
||||
zstyle :compinstall filename '/home/mathieu/.zshrc'
|
||||
|
@ -14,3 +14,10 @@ function preexec {
|
||||
}
|
||||
|
||||
fi
|
||||
|
||||
# Titre de la fenêtre d'un xterm
|
||||
case $TERM in
|
||||
xterm*)
|
||||
precmd () {print -Pn "\e]0;%n@%m: %~\a"}
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user