This commit is contained in:
Your Name
2026-04-16 22:02:54 -07:00
9 changed files with 75 additions and 15 deletions
+6 -3
View File
@@ -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