aboutsummaryrefslogtreecommitdiffstats
path: root/_gitconfig
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-11-21 11:27:18 +0800
committerAaron LI <aly@aaronly.me>2017-11-21 11:27:18 +0800
commit6e3573295fafd25dbb1c0a5cfcf38e8327fe7be5 (patch)
treef8a3d36df3fc99215b08dc92f30ad6b0af133cad /_gitconfig
parent838ccd582ddb74066e547133914a4ff5912ae85b (diff)
downloaddotfiles-6e3573295fafd25dbb1c0a5cfcf38e8327fe7be5.tar.bz2
gitconfig: Show traling whitespace; show tab at 8 stops
Diffstat (limited to '_gitconfig')
-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