From 17433d052871ee2134a0745959626a47590c5c18 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 3 Feb 2022 18:59:00 +0100 Subject: [PATCH] git:core.pager: Remove the search pattern This gets really annoying as it complains in many cases that it cannot find a match for the pattern when the pager is used for other things than commits. --- .config/git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/git/config b/.config/git/config index a1cf306..89033f2 100644 --- a/.config/git/config +++ b/.config/git/config @@ -19,7 +19,7 @@ [core] abbrev = 12 excludesfile = ~/.config/git/ignore - pager = diff-so-fancy | less --tabs=8 -Rg -+FX -p'^(commit|added|deleted|modified|renamed|tag|(Submodule .* [a-f0-9]+[.]+[a-f0-9]+)|(stash@{[0-9]+}))[: ]' + pager = diff-so-fancy | less --tabs=8 -Rg -+FX [diff] submodule = log tool = nvimdiff