From 321afd6a982d61cd3fc401c18740658377b21370 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Sun, 3 Feb 2019 18:18:19 -0700 Subject: fzf search hidden directories --- plugin/vim-options.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index e25e8a7..057edcb 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -196,9 +196,11 @@ if !empty(glob($EditorDir.'plugged/fzf.vim/plugin/fzf.vim')) " Find Directories nnoremap fd :call fzf#run(fzf#wrap({'source': 'find * -type d'})) " Enable C-N and C-P to go backwards in history - let g:fzf_history_dir = $HOME.'.local/share/fzf-history' + let g:fzf_history_dir = '~/.local/share/fzf-history' " [Buffers] Jump to the existing window if possible let g:fzf_buffers_jump = 1 + " Show hidden directories + let $FZF_DEFAULT_COMMAND = 'find . -type f -not -path "*/\.git/*" -not -path "*/\.mypy_cache/*"' endif "----------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3