Added Denite settings
This commit is contained in:
parent
5b548af0da
commit
4f01a379e1
19
init.vim
19
init.vim
@ -115,6 +115,7 @@ Plug 'rdnetto/YCM-generator', { 'branch': 'stable'}
|
||||
Plug 'chrisbra/Recover.vim'
|
||||
Plug 'Yggdroot/indentLine'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'Shougo/denite.nvim'
|
||||
|
||||
" versioning
|
||||
Plug 'tpope/vim-fugitive'
|
||||
@ -130,3 +131,21 @@ Plug 'vim-syntastic/syntastic'
|
||||
Plug 'sakhnik/nvim-gdb'
|
||||
call plug#end()
|
||||
|
||||
" Denite settings
|
||||
nnoremap <space>e :Denite file_rec <cr>
|
||||
|
||||
call denite#custom#map(
|
||||
\ 'insert',
|
||||
\ '<C-j>',
|
||||
\ '<denite:move_to_next_line>',
|
||||
\ 'noremap'
|
||||
\)
|
||||
call denite#custom#map(
|
||||
\ 'insert',
|
||||
\ '<C-k>',
|
||||
\ '<denite:move_to_previous_line>',
|
||||
\ 'noremap'
|
||||
\)
|
||||
|
||||
call denite#custom#filter('matcher_ignore_globs', 'ignore_globs', [ '.git/', '.gradle/', 'build/', '.idea/', 'app/', '*.png', '*.so', '*.a', '*.jar', 'target/' ])
|
||||
call denite#custom#source('file_rec', 'matchers', ['matcher_ignore_globs', 'matcher/fuzzy'])
|
||||
|
Loading…
Reference in New Issue
Block a user