From 00277b5bafa2adfb3ab47cd8b510c336136d445a Mon Sep 17 00:00:00 2001 From: KemoNine Date: Fri, 20 May 2022 18:00:09 -0400 Subject: [PATCH] tweak ctrl-r and histdb setup ; more in line with how i think --- zshrc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/zshrc b/zshrc index 0e8210c..438ba18 100644 --- a/zshrc +++ b/zshrc @@ -98,13 +98,9 @@ fi [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh -# ensure histdb gets ctrl-r for history -if grep -q "Android" <<< `uname -a`; then - source ~/.zplug/repos/larkery/zsh-histdb/histdb-interactive.zsh - bindkey '^R' _histdb-isearch -else - bindkey '^R' histdb-skim-widget -fi +# ensure histdb gets ctrl-r for history and skim widget can still be called +source ~/.zplug/repos/larkery/zsh-histdb/histdb-interactive.zsh +alias hist="histdb-skim-widget" # Fix home/end/del silly if [[ "$TERM" != emacs ]]; then