tweak ctrl-r and histdb setup ; more in line with how i think

This commit is contained in:
KemoNine 2022-05-20 18:00:09 -04:00
parent f914b9ce13
commit 00277b5baf

10
zshrc
View file

@ -98,13 +98,9 @@ fi
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# ensure histdb gets ctrl-r for history # ensure histdb gets ctrl-r for history and skim widget can still be called
if grep -q "Android" <<< `uname -a`; then source ~/.zplug/repos/larkery/zsh-histdb/histdb-interactive.zsh
source ~/.zplug/repos/larkery/zsh-histdb/histdb-interactive.zsh alias hist="histdb-skim-widget"
bindkey '^R' _histdb-isearch
else
bindkey '^R' histdb-skim-widget
fi
# Fix home/end/del silly # Fix home/end/del silly
if [[ "$TERM" != emacs ]]; then if [[ "$TERM" != emacs ]]; then