Wildignore for ctrlp ignore

This commit is contained in:
Andrew Tomaka 2014-12-12 12:59:19 -05:00
parent e3ad6995b5
commit 119c8e2883

9
.vimrc
View file

@ -76,6 +76,12 @@ set expandtab
set shiftround " if at odd number spaces, make >> go to next even
" Show whitespace markers before cursor in insert mode
set list listchars=tab:\ \ ,trail
" Ignore stuff
set wildignore+=*/\.git/*
" Java
set wildignore+=*/build/*,*/grade/*
" Frontend
set wildignore+=*/node_modules/*,*/bower_components/*,*/dist/*
" Filetype stuff
syntax on
@ -178,9 +184,6 @@ let g:lightline = {
\ }
\ }
" ctrl-p
let g:ctrlp_custom_ignore = 'node_modules\|build\|\.git\|gradle'
" Functions
" Toggle relative line numbers and cursorline; useful for long line files
function! LargeFileToggle()