Skip to content

Commit

Permalink
[vimrc] Ignore node_modules/ and VCS folders in ctrl-p plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
brantb committed Jul 12, 2012
1 parent ef75af4 commit d98a66b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,8 @@ vnoremap <F10> zm
" If there is a fold under the cursor, spacebar toggles it as well
nnoremap <silent> <Space> @=(foldlevel('.')?'za':"\<Space>")<CR>
" ctrlp plugin config
let g:ctrlp_custom_ignore = {
\ 'dir': 'node_modules\|\.git$\|\.hg$\|\.svn$\|^CVS$'
\ }

0 comments on commit d98a66b

Please sign in to comment.