merged
This commit is contained in:
+6
-3
@@ -34,6 +34,10 @@ zinit cdreplay -q
|
||||
bindkey -e
|
||||
bindkey '^p' history-search-backward
|
||||
bindkey '^n' history-search-forward
|
||||
bindkey '^[[A' history-beginning-search-backward
|
||||
bindkey '^[[B' history-beginning-search-forward
|
||||
bindkey '\e[A' history-beginning-search-backward
|
||||
bindkey '\e[B' history-beginning-search-forward
|
||||
|
||||
# History
|
||||
HISTSIZE=5000
|
||||
@@ -105,8 +109,7 @@ if [[ $(uname) == "Darwin" ]]; then
|
||||
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
elif [[ $(uname) == "Linux" ]]; then
|
||||
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
bindkey "${terminfo[kcuu1]}" history-search-backward
|
||||
bindkey "${terminfo[kcud1]}" history-search-forward
|
||||
fi
|
||||
|
||||
|
||||
bindkey '^[[B' history-search-forward
|
||||
bindkey '^[[A' history-search-backward
|
||||
|
||||
Reference in New Issue
Block a user