From: sev Date: Tue, 15 Oct 2024 00:21:58 +0000 (-0500) Subject: zshrc: bash-style reverse incremental search on ^R X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/d928d58f1d1502c9751068ee52244c8c94fce31a zshrc: bash-style reverse incremental search on ^R --- diff --git a/etc/zsh/.zshrc b/etc/zsh/.zshrc index 46c1992..c0fdef9 100644 --- a/etc/zsh/.zshrc +++ b/etc/zsh/.zshrc @@ -200,6 +200,10 @@ for k v (${(kv)a}) { } unset a k v +## other binds +# bash-style reverse-search-history (i.e. reverse-i-search) +bindkey '^R' history-incremental-pattern-search-backward + ### aliases ## builtins alias rehash='_sev_setpath; rehash'