From 02f654869672b0862543675a86433637cd4b60c6 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Mon, 8 Oct 2018 19:28:02 +0100 Subject: [PATCH] search ignores --- vimrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index afd0bb2..f176475 100644 --- a/vimrc +++ b/vimrc @@ -266,7 +266,7 @@ xmap ah GitGutterTextObjectOuterVisual if executable('ag') " 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 let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""' @@ -857,6 +857,7 @@ set smartcase set wildmenu set wildmode=longest:full,full +set wildignore+=/node_modules/,dist/ set hidden @@ -1069,8 +1070,10 @@ iabbrev b100; bottom: 100%; iabbrev l100; left: 100%; iabbrev r100; right: 100%; +iabbrev w: width:; +iabbrev h: height:; iabbrev ct'' content-type: ''; -iabbrev bgc: background-color: ; +iabbrev bgc: background-color:; "}}}