From 2e9fc1da721f04716c634e23e31d9a84eab3fb55 Mon Sep 17 00:00:00 2001 From: yan Date: Thu, 26 Jan 2012 12:23:08 -0800 Subject: [PATCH] Fix ctrlp settings that conflict with Fugitive [closes #18] --- vim/plugin/settings/ctrlp.vim | 3 +++ vimrc | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/vim/plugin/settings/ctrlp.vim b/vim/plugin/settings/ctrlp.vim index de0fef6..07733f5 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 d0f8d95..d86da64 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* "