diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2021-03-13 10:36:43 +0100 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2021-03-13 10:36:43 +0100 |
| commit | f263a5385eb6bee86fe63e706ae74342a03fe3ea (patch) | |
| tree | 47a33c21f832a761534e6dd68cfacda88fd15ace | |
| parent | 331d7feb3660cfe867ec86524fb48df5b69e1da3 (diff) | |
vim: replace --vimgrep with custom parameters
--vimgrep will print multiple lines if the word has been found
multiple times per line.
One result per line is sufficient and will keep the result buffer
more tidy.
| -rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ set wildmenu " enable wildmenu for command completion set wildmode=list:longest,full " use a bash-like command completion mode set backspace=indent,eol,start " enable backspacing set diffopt^=indent-heuristic,algorithm:histogram " better diffing -set grepprg=rg\ --vimgrep\ --no-heading\ --word-regexp\ --smart-case " use ripgrep for grepping +set grepprg=rg\ --color\ never\ --with-filename\ --column\ --no-heading\ --word-regexp\ --smart-case " use ripgrep for grepping let mapleader="," " more convenient leader syntax on " enable syntax highlighting filetype plugin indent on |
