From 4f01a379e17f5e8977119451a7f45aa59d4351ff Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 21 Jun 2018 00:25:57 +0200 Subject: [PATCH] Added Denite settings --- init.vim | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/init.vim b/init.vim index e74b99e..73123f2 100644 --- a/init.vim +++ b/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 e :Denite file_rec + +call denite#custom#map( + \ 'insert', + \ '', + \ '', + \ 'noremap' + \) +call denite#custom#map( + \ 'insert', + \ '', + \ '', + \ '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'])