tweak ctrl-r and histdb setup ; more in line with how i think
This commit is contained in:
parent
f914b9ce13
commit
00277b5baf
8
zshrc
8
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
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue