Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweak CtrlP settings

  • Loading branch information...
commit b72b6acc0ec3c5b70d6cdb12a3e24d49f829d7ff 1 parent c08858e
@caio authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 vimrc
View
8 vimrc
@@ -169,6 +169,7 @@ set wildignore+=*.sw?
set wildignore+=*.DS_Store
set wildignore+=*.luac
set wildignore+=*.pyc
+set wildignore+=*.class,*.jar
" }}}
" }}}
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.