diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-10-07 10:18:09 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-10-07 10:18:09 +0300 |
commit | 570ac7ec050d0a79fb46832df9a19be4da241469 (patch) | |
tree | 5ab634e974a16f2e3151f9c7ccdd81701a6e643f | |
parent | 3f6bb9f7ddc34fdd9af3d8ae3b0c00b882027843 (diff) | |
download | swayrice-570ac7ec050d0a79fb46832df9a19be4da241469.tar.gz swayrice-570ac7ec050d0a79fb46832df9a19be4da241469.zip |
zsh: switch binds to history-beginning-search-*general-changes
-rw-r--r-- | dotfiles/.config/zsh/.zshrc | 8 |
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 { |