Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
Tweak CtrlP settings
Browse files Browse the repository at this point in the history
  • Loading branch information
caio committed Jan 4, 2013
1 parent c08858e commit b72b6ac
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vimrc
Expand Up @@ -169,6 +169,7 @@ set wildignore+=*.sw?
set wildignore+=*.DS_Store
set wildignore+=*.luac
set wildignore+=*.pyc
set wildignore+=*.class,*.jar
" }}}
" }}}

Expand Down Expand Up @@ -320,8 +321,13 @@ let g:ctrlp_switch_buffer = 1
let g:ctrlp_max_height = 10
let g:ctrlp_dotfiles = 0
let g:ctrlp_cache_dir = $HOME.'/.ctrlp_cache'
let g:ctrlp_max_depth = 5
let g:ctrlp_max_depth = 10
let g:ctrlp_follow_symlinks = 1

let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/](target)$',
\ }

nmap <silent><leader>f :CtrlP<CR>
nmap <silent><leader>F :CtrlPRoot<CR>
nmap <silent><leader>b :CtrlPBuffer<CR>
Expand Down

0 comments on commit b72b6ac

Please sign in to comment.