From 570ac7ec050d0a79fb46832df9a19be4da241469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 7 Oct 2021 10:18:09 +0300 Subject: zsh: switch binds to history-beginning-search-* --- dotfiles/.config/zsh/.zshrc | 8 ++++---- 1 file 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 { -- cgit v1.2.3