From 74a5e0fd81a4fbaf5e60f3baa5287d3e65486e2f Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 30 Sep 2023 13:32:06 -0700 Subject: [PATCH] Reset C-r binding in zle Oh my goodness this is so much better --- shell/zsh/.zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc index c3cab34..9757fab 100644 --- a/shell/zsh/.zshrc +++ b/shell/zsh/.zshrc @@ -209,6 +209,12 @@ zstyle ':autocomplete:*complete*:*' insert-unambiguous yes done } +# https://github.com/marlonrichert/zsh-autocomplete#reset-ctrlr-and-ctrls +zle -A {.,}history-incremental-search-backward +zle -A {.,}vi-history-search-backward +bindkey -M emacs '^S' history-incremental-search-forward +bindkey -M vicmd '/' vi-history-search-forward + #### Globbing # This makes globs case-insensitive.