Skip to content

Commit

Permalink
Merge pull request #2 from eric-hu/patch-1
Browse files Browse the repository at this point in the history
Add Ctrl-p vim setting to ignore vendor folders
  • Loading branch information
ehrenmurdick committed Jun 1, 2015
2 parents e174162 + 0532cac commit 66731c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vimrc
Expand Up @@ -110,6 +110,11 @@ nnoremap <Leader>g :Ack <cword><CR>
" run matchit.vim to enable using % to navigate ruby do...end
runtime! macros/matchit.vim

" Ctrl-P custom ignore: do not scan the vendor folder (for large Rails projects)
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/](vendor)$',
\ }

function! ToggleBackground()
if (g:colors_name=="solarized")
colorscheme twilight
Expand Down

0 comments on commit 66731c6

Please sign in to comment.