CtrlP plug-in added
This commit is contained in:
parent
523e6472b7
commit
d3986719c5
3 changed files with 13 additions and 0 deletions
6
bundles-init/ctrlp.vim.cfg.vim
Normal file
6
bundles-init/ctrlp.vim.cfg.vim
Normal 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>
|
3
bundles-init/ctrlp.vim.load.vim
Normal file
3
bundles-init/ctrlp.vim.load.vim
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
NeoBundleLazy 'ctrlpvim/ctrlp.vim' , {
|
||||||
|
\ 'mappings': '<Leader>p'
|
||||||
|
\ }
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue