aboutsummaryrefslogtreecommitdiffstats
path: root/_tigrc
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-11-09 23:38:10 +0800
committerAaron LI <aly@aaronly.me>2018-11-09 23:46:33 +0800
commit81f97ea695b7129583e3cc669ab79d606a90077f (patch)
tree1658b1f059513c738a15ffc81a9bac9c72477e09 /_tigrc
parent5389a95005f701cd05072390b81d2ef94cd0d573 (diff)
downloaddotfiles-81f97ea695b7129583e3cc669ab79d606a90077f.tar.bz2
Add basic tigrc (config for tig)
tig is a simple text-mode interface to git. https://jonas.github.io/tig/
Diffstat (limited to '_tigrc')
-rw-r--r--_tigrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/_tigrc b/_tigrc
new file mode 100644
index 0000000..ba982c3
--- /dev/null
+++ b/_tigrc
@@ -0,0 +1,4 @@
+# ~/.tigrc
+
+bind main R !git rebase -i %(commit)
+bind main M !git merge --ff-only %(commit)