CtrlP plug-in added

This commit is contained in:
Emmanuel BENOîT 2015-03-08 15:18:34 +01:00
parent 523e6472b7
commit d3986719c5
3 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,6 @@
let g:ctrlp_working_path_mode = '' " Disable CtrlP-controlled chdir
let g:ctrlp_map = '' " Disable default mapping
nnoremap <Leader>pp :CtrlPBuffer<CR>
nnoremap <Leader>po :CtrlPMRUFiles<CR>
nnoremap <Leader>pi :CtrlP<CR>

View file

@ -0,0 +1,3 @@
NeoBundleLazy 'ctrlpvim/ctrlp.vim' , {
\ 'mappings': '<Leader>p'
\ }

View file

@ -14,6 +14,10 @@ local leader key.
<Leader>P Toggle paste mode <Leader>P Toggle paste mode
<C-c> (Visual mode) Copy selected text to X clipboard <C-c> (Visual mode) Copy selected text to X clipboard
<Leader>pp CtrlP: buffer list
<Leader>po CtrlP: recently used files
<Leader>pi CtrlP: directory
<Leader><Space> Clear highlighted search <Leader><Space> Clear highlighted search
<Leader>n Toggle line numbers <Leader>n Toggle line numbers