From 75eadfe1cb3fdcae00ca46569d0d059df44fbbd7 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 9 Apr 2017 21:56:35 +0200 Subject: nvim: Replace CtrlP with denite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nvim/init.vim | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'nvim') diff --git a/nvim/init.vim b/nvim/init.vim index d1fe125..5462c53 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -4,7 +4,8 @@ call plug#begin(expand('$XDG_CONFIG_HOME/nvim/plugs')) -Plug 'ctrlpvim/ctrlp.vim' " Fuzzy file/buffer/mru/tag/etc. finder +Plug 'Shougo/denite.nvim' " unite.vim for nvim +Plug 'Shougo/neomru.vim' " MRU plugin for denite Plug 'mattn/emmet-vim' " Emmet-like snippet system Plug 'tommcdo/vim-exchange' " Easy text exchange operator Plug 'tpope/vim-fugitive' " Git wrapper @@ -90,10 +91,11 @@ nmap gk let g:ctrlp_extensions = ['tag', 'buffertag', 'dir', 'undo', 'line', \ 'changes', 'mixed', 'bookmarkdir'] -nmap pf :CtrlP -nmap pb :CtrlPBuffer -nmap pm :CtrlPMRU -nmap px :CtrlPMixed +noremap pf :Denite file_rec +noremap pm :Denite file_mru +noremap pb :Denite buffer +noremap px :Denite buffer file_mru file_rec +noremap pg :Denite grep -- cgit v1.2.3-70-g09d2