From c225fb0003e91debb6936dab09e7b4cd004df49c Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 25 Dec 2019 19:53:20 +0800 Subject: [PATCH] Update leaderf settings --- plugins.vim | 8 ++++++++ 1 file changed, 8 insertions(+) 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