Skip to content

Instantly share code, notes, and snippets.

@henryalee
Created August 23, 2013 23:25
Show Gist options
  • Save henryalee/6324953 to your computer and use it in GitHub Desktop.
Save henryalee/6324953 to your computer and use it in GitHub Desktop.
better ctrl-p ignore
" let g:ctrlp_by_filename = 1
" let g:ctrlp_match_window_bottom = 0
" let g:ctrlp_match_window_reversed = 0
" let g:ctrlp_max_depth = 40
" let g:ctrlp_max_height = 50
" let g:ctrlp_max_files = 0
" Sane Ignore For ctrlp https://github.com/kien/ctrlp.vim/issues/313
let g:ctrlp_custom_ignore = {
\ 'dir': '\.git$\|\.hg$\|\.svn$\|\.yardoc\|public\/images\|public\/system\|data\|log\|tmp$',
\ 'file': '\.exe$\|\.so$\|\.dat$'
\ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment