add fix for tmux-zsh combination

This commit is contained in:
Evgenii Alekseev 2016-12-19 13:11:58 +03:00
parent ecfe795d89
commit 6f23f9cef9

2
zshrc
View File

@ -13,6 +13,8 @@ bindkey '\e[3~' delete-char # del
bindkey '\e[4~' end-of-line # end
bindkey '\e[5~' up-line-or-history # page-up
bindkey '\e[6~' down-line-or-history # page-down
# tmux workaround http://superuser.com/questions/403355/how-do-i-get-searching-through-my-command-history-working-with-tmux-and-zshell
bindkey '^R' history-incremental-search-backward # search for history
# autocomplit
autoload -U compinit