summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Brändli <matthias.braendli@u-blox.com>2016-09-29 10:09:45 +0200
committerMatthias Brändli <matthias.braendli@u-blox.com>2016-09-29 10:09:45 +0200
commit74f0caa67a22554ccb68b4ed52f233d1230f4b53 (patch)
tree7cfd74cf782955ec7976c4451cd05d55e7396419
parent85125df120da59fd460970069c97f45eb8f7ba3f (diff)
downloadvimrc-74f0caa67a22554ccb68b4ed52f233d1230f4b53.tar.gz
vimrc-74f0caa67a22554ccb68b4ed52f233d1230f4b53.tar.bz2
vimrc-74f0caa67a22554ccb68b4ed52f233d1230f4b53.zip
Improve ctrlp
-rw-r--r--dotvimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotvimrc b/dotvimrc
index 98ab353..c4ae70b 100644
--- a/dotvimrc
+++ b/dotvimrc
@@ -73,13 +73,18 @@ let g:gitgutter_eager = 0 " only update on read/write
NeoBundle 'kien/ctrlp.vim' "amazing search with ctrl p
NeoBundle 'JazzCore/ctrlp-cmatcher'
+let g:ctrlp_match_func = {'match' : 'matcher#cmatch' }
" Also search tags
let g:ctrlp_extensions = ['tag']
+noremap <Leader>p :CtrlP<CR>
noremap <Leader>t :CtrlPTag<CR>
"let g:ctrlp_working_path_mode = 'a'
+" Ignore some folders and files for CtrlP indexing
+let g:ctrlp_custom_ignore = { 'dir': '\.git$\|\CODENAME_Data' }
+
NeoBundle 'git-time-lapse'
NeoBundle 'Valloric/YouCompleteMe.git'