Ollie Rutherfurd avatar Ollie Rutherfurd committed e742cbc

added cntrl-p

Comments (0)

Files changed (3)

 bundle/sparkup = [git]git://github.com/sjl/vim-sparkup.git
 bundle/javascript = [git]git://github.com/pangloss/vim-javascript.git
 bundle/indent-object = [git]git://github.com/michaeljsmith/vim-indent-object.git
+bundle/ctrlp = [git]git://github.com/kien/ctrlp.vim.git
 a41d5d52c39a31128e969e69acf800b198cb07f9 bundle/ack
+b44a699d2284848a384b803509662ab5ea948d36 bundle/ctrlp
 39b8298390a9171c796df077ad3c5f3c0f111c56 bundle/delimitMate
 e3da56dcd8d491e2b3ac81b2f53536ccfdfb320c bundle/golden-ratio
 91190e67720f852c17602504d5225d4e675b6499 bundle/gundo
 set wildmenu    " enhanced display of completion
 set wildchar=<TAB>
 set wildmode=list:full
-set wildignore=*.pyc,*.class,*~ " globs to ignore
+set wildignore=*.pyc,*.class,*~             " python, java, & backup
+set wildignore+=*.diff,*.orig,*.marks       " misc
+set wildignore+=*/.git/*,*/.hg/*,*/.svn/*   " vcs
+set wildignore+=*.sw?                       " vim swap files
 
 let g:netrw_hide=1
 let g:netrw_list_hide='.*\.py[oc]$,.*\.swp$'
 " don't want to hear about not having ruby
 let g:LustyExplorerSuppressRubyWarning = 1
 
+" the nearest ancestor that contains one of these directories or files:
+" .git, .hg, .bzr, _darcs
+let g:ctrlp_working_path_mode = 2
+
 set hidden
 
 nnoremap <F5> :GundoToggle<CR>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.