Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CtrlP configuration borrowed from YADR

  • Loading branch information...
commit 7cbc535181579b7f7d98eb3883ba0857189a366e 1 parent b139b7f
@dlh01 authored
Showing with 20 additions and 0 deletions.
  1. +20 −0 vim/plugin/settings/ctrlp.vim
20 vim/plugin/settings/ctrlp.vim
@@ -0,0 +1,20 @@
+" CtrlP configuration borrowed from YADR
+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
+" We don't want to use Ctrl-p as the mapping because
+" it interferes with YankRing (paste, then hit ctrl-p)
+let g:ctrlp_map = ',t'
+nnoremap <silent> ,t :CtrlPMixed<CR>
+" Additional mapping for buffer search
+nnoremap <silent> ,b :CloseSingleConque<CR>:CtrlPBuffer<cr>
+nnoremap <silent> <C-b> :CloseSingleConque<CR>:CtrlPBuffer<cr>
+" Cmd-Shift-P to clear the cache
+nnoremap <silent> <D-P> :ClearCtrlPCache<cr>
Please sign in to comment.
Something went wrong with that request. Please try again.