From ef1fdfeb61f49d40c7e10aafa6934f7da3e17fb3 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Fri, 26 Mar 2021 16:11:36 -0400 Subject: [PATCH] Added fzf config --- zsh/zshrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zsh/zshrc b/zsh/zshrc index e10261b..b36442b 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -47,7 +47,7 @@ HIST_STAMPS="yyyy-mm-dd" # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. # plugins=(git) -plugins=(sudo taskwarrior common-aliases git-flow github keybase vi-mode battery python) +plugins=(sudo taskwarrior common-aliases git-flow github keybase vi-mode fzf python) # User configuration export PATH="/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/kellya/bin:/home/kellya/incoming/git-annex.linux:/home/kellya/bin/keybase/bin:/home/kellya/.local/bin" @@ -139,3 +139,11 @@ export PATH="$HOME/.poetry/bin:$PATH" # source $HOME/.zshrc # fi #} + +# +#FZF stuff +source /usr/share/fzf/shell/key-bindings.zsh +source ~/.oh-my-zsh/completions/fzf_completion +export FZF_DEFAULT_OPTS="--extended" +export FZF_DEFAULT_COMMAND="fd --type f" +export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"