Merge remote-tracking branch 'QiBaobin/git-grep-column'

This commit is contained in:
Maxime Coste 2023-09-23 21:26:16 +10:00
commit c65eeeb0cf

View File

@ -352,7 +352,7 @@ define-command -params 1.. \
shift shift
enquoted="$(printf '"%s" ' "$@")" enquoted="$(printf '"%s" ' "$@")"
printf %s "try %{ printf %s "try %{
set-option current grepcmd 'git grep -n' set-option current grepcmd 'git grep -n --column'
grep $enquoted grep $enquoted
set-option current grepcmd '$kak_opt_grepcmd' set-option current grepcmd '$kak_opt_grepcmd'
}" }"