aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/zsh/.zshrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/dotfiles/.config/zsh/.zshrc b/dotfiles/.config/zsh/.zshrc
index a744585..ad70614 100644
--- a/dotfiles/.config/zsh/.zshrc
+++ b/dotfiles/.config/zsh/.zshrc
@@ -39,10 +39,10 @@ bindkey -M menuselect 'J' vi-down-line-or-history
bindkey -v '^?' backward-delete-char
# History search
-bindkey "^[[A" history-search-backward
-bindkey "^[[B" history-search-forward
-bindkey -a "k" history-search-backward
-bindkey -a "j" history-search-forward
+bindkey "^[[A" history-beginning-search-backward
+bindkey "^[[B" history-beginning-search-forward
+bindkey -a "k" history-beginning-search-backward
+bindkey -a "j" history-beginning-search-forward
# Change cursor shape for different vi modes.
function zle-keymap-select {