]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/commitdiff
.bashrc: Set fzf defaults
authorTony Duckles <tony@nynim.org>
Sat, 23 Dec 2017 15:51:20 +0000 (09:51 -0600)
committerTony Duckles <tony@nynim.org>
Sat, 23 Dec 2017 15:51:20 +0000 (09:51 -0600)
.bashrc

diff --git a/.bashrc b/.bashrc
index fdf26f9d79a87ac795a7ae4fe1311e7f93d9b555..907dfc17d1613bc1ae6e602d4e6cbad8998456d3 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -439,6 +439,10 @@ MANPATH=$(puniq "$MANPATH")
 test -n "$PS1" &&
     prompt_color
 
+# fzf
+export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow -g "!{.git,node_modules,*.swp,.venv}/*" 2> /dev/null'
+export FZF_DEFAULT_OPTS='--bind J:down,K:up --reverse --ansi --multi'
+
 # -------------------------------------------------------------------
 # MOTD / FORTUNE
 # -------------------------------------------------------------------