aboutsummaryrefslogtreecommitdiff
path: root/plugins.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugins.vim')
-rw-r--r--plugins.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins.vim b/plugins.vim
index a9ea547..1b47f9f 100644
--- a/plugins.vim
+++ b/plugins.vim
@@ -454,6 +454,14 @@ nmap g# <Plug>(asterisk-gz#)<Plug>(is-nohl-1)
"""""""""""""""""""""""""""""LeaderF settings"""""""""""""""""""""
" Do not use cache file
let g:Lf_UseCache = 0
+
+" Ignore certain files and directories when searching files
+let g:Lf_WildIgnore = {
+ \ 'dir': ['.git', '__pycache__', '.DS_Store'],
+ \ 'file': ['*.exe', '*.dll', '*.so', '*.o', '*.pyc', '*.jpg', '*.png',
+ \ '*.db', '*.tgz', '*.tar.gz', '*.zip', '*.bin']
+ \}
+
" Search files in popup window
nnoremap <silent> <leader>f :Leaderf file --popup<CR>