mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-04-25 08:27:18 +00:00
add fix for tmux-zsh combination
This commit is contained in:
parent
ecfe795d89
commit
6f23f9cef9
18
zshrc
18
zshrc
@ -5,14 +5,16 @@ HISTSIZE=500000
|
|||||||
SAVEHIST=500000
|
SAVEHIST=500000
|
||||||
|
|
||||||
# bindkeys
|
# bindkeys
|
||||||
bindkey '^[[A' up-line-or-search # up arrow for back-history-search
|
bindkey '^[[A' up-line-or-search # up arrow for back-history-search
|
||||||
bindkey '^[[B' down-line-or-search # down arrow for fwd-history-search
|
bindkey '^[[B' down-line-or-search # down arrow for fwd-history-search
|
||||||
bindkey '\e[1~' beginning-of-line # home
|
bindkey '\e[1~' beginning-of-line # home
|
||||||
bindkey '\e[2~' overwrite-mode # insert
|
bindkey '\e[2~' overwrite-mode # insert
|
||||||
bindkey '\e[3~' delete-char # del
|
bindkey '\e[3~' delete-char # del
|
||||||
bindkey '\e[4~' end-of-line # end
|
bindkey '\e[4~' end-of-line # end
|
||||||
bindkey '\e[5~' up-line-or-history # page-up
|
bindkey '\e[5~' up-line-or-history # page-up
|
||||||
bindkey '\e[6~' down-line-or-history # page-down
|
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
|
# autocomplit
|
||||||
autoload -U compinit
|
autoload -U compinit
|
||||||
|
Loading…
Reference in New Issue
Block a user