N. For example,
diff-so-fancyalways adds some prefix for files, so I could do this:
[pager] diff = diff-so-fancy | less -iMRX --pattern='^(added|deleted|modified|renamed): '
>to files names so that it works well with default search pattern of
less? Thank you.
[pager] diff = delta [interactive] # Use delta with initial search pattern that matches to every file name # that contains at least one non-numeric character: diffFilter = delta --color-only | less --pattern='^[^─+ ].*[^0-9]' # Note that it works AFTER you type `n`. Or, put the pipe to less to in the # [pager] section (which in turn always opens `less`)
delta::batmodule into a standalone crate ( or is it too specific) ? I think that would be useful.
GitHubtheme, but that's the default so all you need to is
[delta] light = true