Fix zsh history search crap
This commit is contained in:
parent
4f2e506ab1
commit
95eabb0778
12
.zshrc
12
.zshrc
|
@ -9,10 +9,14 @@ setopt menu_complete
|
|||
unsetopt beep
|
||||
bindkey -v
|
||||
|
||||
autoload -U up-line-or-beginning-search
|
||||
autoload -U down-line-or-beginning-search
|
||||
bindkey '^[[A' history-beginning-search-backward
|
||||
bindkey '^[[B' history-beginning-search-forward
|
||||
autoload -Uz up-line-or-beginning-search
|
||||
autoload -Uz down-line-or-beginning-search
|
||||
zle -N up-line-or-beginning-search
|
||||
zle -N down-line-or-beginning-search
|
||||
bindkey '\eOA' up-line-or-beginning-search
|
||||
bindkey '\e[A' up-line-or-beginning-search
|
||||
bindkey '\eOB' down-line-or-beginning-search
|
||||
bindkey '\e[B' down-line-or-beginning-search
|
||||
|
||||
export EDITOR="vim"
|
||||
|
||||
|
|
Loading…
Reference in New Issue