diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2017-04-09 21:56:35 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-01 18:38:10 +0200 |
commit | 75eadfe1cb3fdcae00ca46569d0d059df44fbbd7 (patch) | |
tree | d269f82725f06dd1d4da089f4f1c1c3a47ff5b5d | |
parent | 327e1054ca2086f51d20b374fd0d5bd907955d36 (diff) | |
download | dotfiles-75eadfe1cb3fdcae00ca46569d0d059df44fbbd7.tar.xz |
nvim: Replace CtrlP with denite
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r-- | nvim/init.vim | 12 |
1 files changed, 7 insertions, 5 deletions
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 <C-k> gk let g:ctrlp_extensions = ['tag', 'buffertag', 'dir', 'undo', 'line', \ 'changes', 'mixed', 'bookmarkdir'] -nmap <silent> <Leader>pf :CtrlP<CR> -nmap <silent> <Leader>pb :CtrlPBuffer<CR> -nmap <silent> <Leader>pm :CtrlPMRU<CR> -nmap <silent> <Leader>px :CtrlPMixed<CR> +noremap <silent> <Leader>pf :Denite file_rec<CR> +noremap <silent> <Leader>pm :Denite file_mru<CR> +noremap <silent> <Leader>pb :Denite buffer<CR> +noremap <silent> <Leader>px :Denite buffer file_mru file_rec<CR> +noremap <silent> <Leader>pg :Denite grep<CR> |