1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Update leaderf settings

This commit is contained in:
jdhao 2019-12-25 19:53:20 +08:00 committed by GitHub
parent 79e08d64a4
commit c225fb0003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>