Update ctrlp shortcuts
This commit is contained in:
parent
3eff053be0
commit
c9a2259c05
1 changed files with 3 additions and 1 deletions
4
.vimrc
4
.vimrc
|
|
@ -1128,7 +1128,9 @@ endif
|
||||||
" CtrlP
|
" CtrlP
|
||||||
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " Linux/MacOSX
|
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " Linux/MacOSX
|
||||||
set wildignore+=tmp\*,*.swp,*.zip,*.exe " Windows
|
set wildignore+=tmp\*,*.swp,*.zip,*.exe " Windows
|
||||||
let g:ctrlp_custom_ignore = '\.git$\|\.hg$\|\.svn$'
|
noremap <Leader>p :CtrlPBuffer<CR>
|
||||||
|
noremap <Leader>P :CtrlPCurFile<CR>
|
||||||
|
let g:ctrlp_working_path_mode = 0
|
||||||
let g:ctrlp_custom_ignore = {
|
let g:ctrlp_custom_ignore = {
|
||||||
\ 'dir': '\.git$\|\.hg$\|\.svn$',
|
\ 'dir': '\.git$\|\.hg$\|\.svn$',
|
||||||
\ 'file': '\.exe$\|\.so$\|\.dll$',
|
\ 'file': '\.exe$\|\.so$\|\.dll$',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue