Use silver search for fzf
Force fzf to respect the .gitignore by using the silver searcher
This commit is contained in:
parent
4f005ab7e2
commit
6312e20912
2 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
* [zsh](https://github.com/zsh-users/zsh)
|
* [zsh](https://github.com/zsh-users/zsh)
|
||||||
* [neovim](https://github.com/neovim/neovim)
|
* [neovim](https://github.com/neovim/neovim)
|
||||||
* [fzf](https://github.com/junegunn/fzf)
|
* [fzf](https://github.com/junegunn/fzf)
|
||||||
|
* [ag](https://github.com/ggreer/the_silver_searcher)
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
|
3
vimrc
3
vimrc
|
@ -165,6 +165,9 @@ syntax enable
|
||||||
|
|
||||||
highlight ExtraWhitespace ctermbg=196
|
highlight ExtraWhitespace ctermbg=196
|
||||||
|
|
||||||
|
" fzf
|
||||||
|
let $FZF_DEFAULT_COMMAND = 'ag -g ""'
|
||||||
|
|
||||||
" ZoomWin
|
" ZoomWin
|
||||||
function! ZoomState()
|
function! ZoomState()
|
||||||
if exists('t:zoomwintab')
|
if exists('t:zoomwintab')
|
||||||
|
|
Loading…
Reference in a new issue