diff --git a/plugins.vim b/plugins.vim index a9ea547..1b47f9f 100644 --- a/plugins.vim +++ b/plugins.vim @@ -454,6 +454,14 @@ nmap g# (asterisk-gz#)(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 f :Leaderf file --popup