Use silver search for fzf

Force fzf to respect the .gitignore by using the silver searcher
This commit is contained in:
Andrew Tomaka 2017-10-18 10:40:07 -04:00
parent 4f005ab7e2
commit 6312e20912
No known key found for this signature in database
GPG key ID: C78D1A81582BAC86
2 changed files with 4 additions and 0 deletions

View file

@ -7,6 +7,7 @@
* [zsh](https://github.com/zsh-users/zsh)
* [neovim](https://github.com/neovim/neovim)
* [fzf](https://github.com/junegunn/fzf)
* [ag](https://github.com/ggreer/the_silver_searcher)
## Setup

3
vimrc
View file

@ -165,6 +165,9 @@ syntax enable
highlight ExtraWhitespace ctermbg=196
" fzf
let $FZF_DEFAULT_COMMAND = 'ag -g ""'
" ZoomWin
function! ZoomState()
if exists('t:zoomwintab')