From ae6b57ae2928ee3b70a0bda906c6d6d5cb1247a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sun, 8 Aug 2021 23:20:45 +0200 Subject: [PATCH] Added new default fzf command --- .config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) 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