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
1 changed files with 3 additions and 7 deletions

10
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
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