From 6312e20912ba50376e4cc162971d00238592a556 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 18 Oct 2017 10:40:07 -0400 Subject: [PATCH] Use silver search for fzf Force fzf to respect the .gitignore by using the silver searcher --- README.md | 1 + vimrc | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index e0569c1..ee13f28 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/vimrc b/vimrc index dde18e3..972f517 100644 --- a/vimrc +++ b/vimrc @@ -165,6 +165,9 @@ syntax enable highlight ExtraWhitespace ctermbg=196 +" fzf +let $FZF_DEFAULT_COMMAND = 'ag -g ""' + " ZoomWin function! ZoomState() if exists('t:zoomwintab')