Emmanuel BENOîT
be99bfda32
Don't load plugins based on keyboard shortcuts, as this conflicts with vim-which-key. Instead, create shortcuts when plugins are declared, and load them when the commands they provide are used.
8 lines
218 B
VimL
8 lines
218 B
VimL
call dein#add('ctrlpvim/ctrlp.vim', #{
|
|
\ lazy: 1,
|
|
\ on_cmd: ['CtrlPBuffer', 'CtrlPMRUFiles', 'CtrlP']
|
|
\ })
|
|
|
|
nnoremap <Leader>pp :CtrlPBuffer<CR>
|
|
nnoremap <Leader>po :CtrlPMRUFiles<CR>
|
|
nnoremap <Leader>pi :CtrlP<CR>
|