aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/zsh
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-10-07 10:18:09 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-10-07 10:18:09 +0300
commit570ac7ec050d0a79fb46832df9a19be4da241469 (patch)
tree5ab634e974a16f2e3151f9c7ccdd81701a6e643f /dotfiles/.config/zsh
parent3f6bb9f7ddc34fdd9af3d8ae3b0c00b882027843 (diff)
downloadswayrice-570ac7ec050d0a79fb46832df9a19be4da241469.tar.gz
swayrice-570ac7ec050d0a79fb46832df9a19be4da241469.zip
zsh: switch binds to history-beginning-search-*general-changes
Diffstat (limited to 'dotfiles/.config/zsh')
-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 {