Permalink
Browse files

add <F3> for ctrlp MRU search

  • Loading branch information...
kaochenlong committed Feb 24, 2014
1 parent 6c7b782 commit 184818d1238172e60a06d2653717f9eb714af9c7
Showing with 6 additions and 4 deletions.
  1. +6 −4 plugin/settings/CtrlP.vim
View
@@ -1,10 +1,12 @@
-nnoremap <C-W><C-U> :CtrlPMRU<CR>
-nnoremap <C-W>u :CtrlPMRU<CR>
-
-let g:ctrlp_custom_ignore = '\.git$\|\.hg$\|\.svn$'
+let g:ctrlp_custom_ignore = {
+ \ 'dir': '\v[\/]\.(git|hg|svn)$',
+ \ 'binary file': '\v\.(exe|so|dll)$',
+ \ }
let g:ctrlp_working_path_mode=0
let g:ctrlp_match_window_bottom=1
let g:ctrlp_max_height=15
let g:ctrlp_match_window_reversed=0
let g:ctrlp_mruf_max=500
let g:ctrlp_follow_symlinks=1
+
+nnoremap <silent> <F3> :CtrlPBuffer<CR>

0 comments on commit 184818d

Please sign in to comment.