diff --git a/vim/plugin/settings/ctrlp.vim b/vim/plugin/settings/ctrlp.vim index de0fef64..07733f52 100644 --- a/vim/plugin/settings/ctrlp.vim +++ b/vim/plugin/settings/ctrlp.vim @@ -1,3 +1,5 @@ +let g:ctrlp_custom_ignore = '\.git$\|\.hg$\|\.svn$' + " Default to filename searches - so that appctrl will find application " controller let g:ctrlp_by_filename = 1 @@ -13,6 +15,7 @@ nnoremap :CtrlPBuffer " Cmd-Shift-P to clear the cache nnoremap :ClearCtrlPCache + " Idea from : http://www.charlietanksley.net/blog/blog/2011/10/18/vim-navigation-with-lustyexplorer-and-lustyjuggler/ " Open CtrlP starting from a particular path, making it much " more likely to find the correct thing first. mnemonic 'jump to [something]' diff --git a/vimrc b/vimrc index d0f8d958..d86da645 100644 --- a/vimrc +++ b/vimrc @@ -86,7 +86,6 @@ set nofoldenable "dont fold by default set wildmode=list:longest set wildmenu "enable ctrl-n and ctrl-p to scroll thru matches set wildignore=*.o,*.obj,*~ "stuff to ignore when tab completing -set wildignore+=*/.git/*,*/.hg/*,*/.svn/* set wildignore+=*vim/backups* "