aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_gitconfig9
1 files changed, 9 insertions, 0 deletions
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