From 39a2725217283e97940bf4e2a1e84d66b921c29f Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Mon, 19 Oct 2020 17:46:47 +0300 Subject: [PATCH] Move to fzf --- .zshrc | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.zshrc b/.zshrc index 40ccea7..08b1694 100644 --- a/.zshrc +++ b/.zshrc @@ -107,17 +107,9 @@ alias cp="cp --reflink=auto" alias cal="cal -w3" alias gitg="LANG=en_US.UTF-8 gitg" -if [[ -f /usr/share/zaw/zaw.zsh ]]; then - source /usr/share/zaw/zaw.zsh - - bindkey '^R' zaw-history - bindkey -M filterselect '^R' down-line-or-history - bindkey -M filterselect '^S' up-line-or-history - bindkey -M filterselect '^E' accept-search - - zstyle ':filter-select:highlight' matched fg=green - zstyle ':filter-select' max-lines 3 - zstyle ':filter-select' extended-search yes +if [[ -f /usr/share/fzf/key-bindings.zsh && -f /usr/share/fzf/completion.zsh ]]; then + source /usr/share/fzf/key-bindings.zsh + source /usr/share/fzf/completion.zsh fi EDITOR=nvim