diff options
| author | jdhao <jdhao@hotmail.com> | 2019-12-25 19:53:20 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-25 19:53:20 +0800 |
| commit | c225fb0003e91debb6936dab09e7b4cd004df49c (patch) | |
| tree | 09279305975a85b6c630b5a9c0726acd2af054c3 /plugins.vim | |
| parent | 79e08d64a4141e8c54985852a8250fdaf2ca4598 (diff) | |
Update leaderf settings
Diffstat (limited to 'plugins.vim')
| -rw-r--r-- | plugins.vim | 8 |
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> |
