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
|
[ -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
|
||||||
bindkey '^R' _histdb-isearch
|
alias hist="histdb-skim-widget"
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue