diff --git a/.zshrc b/.zshrc index bb601e2..f265785 100644 --- a/.zshrc +++ b/.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"