Wildignore for ctrlp ignore
This commit is contained in:
parent
e3ad6995b5
commit
119c8e2883
1 changed files with 6 additions and 3 deletions
9
.vimrc
9
.vimrc
|
@ -76,6 +76,12 @@ set expandtab
|
||||||
set shiftround " if at odd number spaces, make >> go to next even
|
set shiftround " if at odd number spaces, make >> go to next even
|
||||||
" Show whitespace markers before cursor in insert mode
|
" Show whitespace markers before cursor in insert mode
|
||||||
set list listchars=tab:\ \ ,trail:·
|
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
|
" Filetype stuff
|
||||||
syntax on
|
syntax on
|
||||||
|
@ -178,9 +184,6 @@ let g:lightline = {
|
||||||
\ }
|
\ }
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
" ctrl-p
|
|
||||||
let g:ctrlp_custom_ignore = 'node_modules\|build\|\.git\|gradle'
|
|
||||||
|
|
||||||
" Functions
|
" Functions
|
||||||
" Toggle relative line numbers and cursorline; useful for long line files
|
" Toggle relative line numbers and cursorline; useful for long line files
|
||||||
function! LargeFileToggle()
|
function! LargeFileToggle()
|
||||||
|
|
Loading…
Reference in a new issue