aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-07-07 22:56:17 +0800
committerGuangxiong Lin <[email protected]>2022-07-07 22:56:17 +0800
commit601379b302624870bd3f53dffec6e13538f6496f (patch)
treecee6cad778ef9f801c13f0232af52bf144999965
parent42eded845d9ec12d214ac7c89f41114ca8a589cb (diff)
downloaddotfiles-601379b302624870bd3f53dffec6e13538f6496f.tar.gz
dotfiles-601379b302624870bd3f53dffec6e13538f6496f.tar.bz2
dotfiles-601379b302624870bd3f53dffec6e13538f6496f.zip
Update tig config
-rw-r--r--.aliases4
-rw-r--r--.tigrc2
2 files changed, 6 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index 582a776..2068689 100644
--- a/.aliases
+++ b/.aliases
@@ -46,3 +46,7 @@ if [ -f /usr/bin/paru ]; then
alias Qsa='paru -Qsa'
alias Qua='paru -Qua'
fi
+
+if command -v tig &> /dev/null; then
+ alias tigs='tig status'
+fi
diff --git a/.tigrc b/.tigrc
index 814b797..5353b47 100644
--- a/.tigrc
+++ b/.tigrc
@@ -1,4 +1,6 @@
set diff-options = --diff-merges=first-parent
+set wrap-lines = true
+set tab-size = 4
# Navigation
bind generic g move-first-line