aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2019-02-03 18:18:19 -0700
committerCody Hiar <codyfh@gmail.com>2019-02-03 18:18:19 -0700
commit321afd6a982d61cd3fc401c18740658377b21370 (patch)
treea51928baa78c9b39e615f6569c88043d4d4ac934 /plugin
parente181808255e65b375387eab91ca9f75b229a5e87 (diff)
fzf search hidden directories
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim4
1 files changed, 3 insertions, 1 deletions
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 <leader>fd :call fzf#run(fzf#wrap({'source': 'find * -type d'}))<CR>
" 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
"-----------------------------------------------------------------------------------------------------------------------