Browse Source

Add tig config

Emmanuel Bouthenot 12 years ago
parent
commit
b20eaf7e45
1 changed files with 19 additions and 0 deletions
  1. 19 0
      .tigrc

+ 19 - 0
.tigrc

@@ -0,0 +1,19 @@
+#
+# Base configuration
+#
+# Syntax: set <option> = <value>
+
+set show-rev-graph = yes        # Show revision graph?
+set line-number-interval = 5    # Interval between line numbers
+set tab-size = 8                # Number of spaces pr tab
+
+#
+# Key configuration
+#
+# Syntax: bind <keymap> <key> <request>
+
+bind generic E !git format-patch -1 %(commit)
+bind generic r !git revert %(commit)
+bind generic T !tig-tag %(commit)
+
+# vim: ft=muttrc