search ignores

This commit is contained in:
ManjaroOne666 2018-10-08 19:28:02 +01:00
parent c8e3090787
commit 02f6548696
1 changed files with 5 additions and 2 deletions

7
vimrc
View File

@ -266,7 +266,7 @@ xmap ah <Plug>GitGutterTextObjectOuterVisual
if executable('ag') if executable('ag')
" Use ag over grep " Use ag over grep
set grepprg=ag\ --nogroup\ --nocolor set grepprg=ag\ --nogroup\ --nocolor\ --ignore\ node_modules
" Use ag in CtrlP for listing files. Lightning fast and respects .gitignore " Use ag in CtrlP for listing files. Lightning fast and respects .gitignore
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""' let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
@ -857,6 +857,7 @@ set smartcase
set wildmenu set wildmenu
set wildmode=longest:full,full set wildmode=longest:full,full
set wildignore+=/node_modules/,dist/
set hidden set hidden
@ -1069,8 +1070,10 @@ iabbrev b100; bottom: 100%;
iabbrev l100; left: 100%; iabbrev l100; left: 100%;
iabbrev r100; right: 100%; iabbrev r100; right: 100%;
iabbrev w: width:;<left>
iabbrev h: height:;<left>
iabbrev ct'' content-type: ''; iabbrev ct'' content-type: '';
iabbrev bgc: background-color: ;<left> iabbrev bgc: background-color:;<left>
"}}} "}}}