From f263a5385eb6bee86fe63e706ae74342a03fe3ea Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 13 Mar 2021 10:36:43 +0100 Subject: 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. --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 54d1a26..2649368 100644 --- a/vimrc +++ b/vimrc @@ -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 -- cgit v1.2.3