From 6e3573295fafd25dbb1c0a5cfcf38e8327fe7be5 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 21 Nov 2017 11:27:18 +0800 Subject: gitconfig: Show traling whitespace; show tab at 8 stops --- _gitconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '_gitconfig') diff --git a/_gitconfig b/_gitconfig index 981c4d4..4034a28 100644 --- a/_gitconfig +++ b/_gitconfig @@ -15,6 +15,10 @@ # Aaron LI # +[core] + # Use 'less' as the pager and display tabs of width 8 + pager = less -x1,9 + [user] name = Aaron LI email = aly@aaronly.me @@ -36,6 +40,11 @@ [color] ui = auto +[diff] + # Show space and tabs + # Credit: https://stackoverflow.com/a/30803980 + wsErrorHighlight = all + [alias] a = add --all ai = add -i -- cgit v1.2.2