diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index c142c8f..4363e65 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -106,6 +106,7 @@ set statusline+=\ %l/%L set statusline+=\ [%c] " fzf +let $FZF_DEFAULT_COMMAND = 'find . -type f -not -path "*/\.git/*"' command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(), 1, 0) command! -bang -nargs=* FindCurrentWord call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(expand('')), 1, 0) set grepprg=rg\ --vimgrep