[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
|
setopt append_history autocd extendedglob nomatch
|
||||||
unsetopt beep
|
unsetopt beep
|
||||||
#binding vim
|
#force emacs binding for tmux && screen
|
||||||
#bindkey -v
|
bindkey -e
|
||||||
# End of lines configured by zsh-newuser-install
|
# End of lines configured by zsh-newuser-install
|
||||||
# The following lines were added by compinstall
|
# The following lines were added by compinstall
|
||||||
zstyle :compinstall filename '/home/mathieu/.zshrc'
|
zstyle :compinstall filename '/home/mathieu/.zshrc'
|
||||||
|
@ -14,3 +14,10 @@ function preexec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fi
|
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