Add support for fzf

This commit is contained in:
Loic Nageleisen 2017-10-19 17:22:00 +02:00
parent c81d8b5c96
commit e837ee39c3

3
shell/fzf Executable file
View file

@ -0,0 +1,3 @@
export FZF_DEFAULT_COMMAND='rg --files --glob "!.git/*"'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
bind -x '"\C-p": vim $(fzf);'