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

8
zshrc
View file

@ -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
# ensure histdb gets ctrl-r for history and skim widget can still be called
source ~/.zplug/repos/larkery/zsh-histdb/histdb-interactive.zsh
bindkey '^R' _histdb-isearch
else
bindkey '^R' histdb-skim-widget
fi
alias hist="histdb-skim-widget"
# Fix home/end/del silly
if [[ "$TERM" != emacs ]]; then