From: Jannik ZANDER Date: Mon, 2 Jul 2018 11:01:00 +0000 (+0200) Subject: Vim grep c-files X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=d82a5bb34a1afcf7b69e9338603721e6ac6a421d;p=dotfiles.git Vim grep c-files --- diff --git a/.vim/vimrc b/.vim/vimrc index db3b55e..94089b2 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -80,7 +80,7 @@ if executable('vim-iarbuild.cmd') endif if executable('ag') - set grepprg=ag\ --vimgrep\ --skip-vcs-ignores\ --path-to-ignore\ ~/.ignore\ --cpp + set grepprg=ag\ --vimgrep\ --skip-vcs-ignores\ --path-to-ignore\ ~/.ignore\ --cpp\ --cc set grepformat^=%f:%l:%c:%m " file:line:coloumn:message endif