瀏覽代碼

Add tig config

Emmanuel Bouthenot 12 年之前
父節點
當前提交
b20eaf7e45
共有 1 個文件被更改,包括 19 次插入0 次删除
  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