]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tigrc
gitconfig: Use --patience for diffs.
[config/dotfiles.git] / tigrc
diff --git a/tigrc b/tigrc
index 8d81ff214441b92c7e8db92319b4f481288d097a..4c0980cfc8787356ea1d044f31355b38bcd957ed 100644 (file)
--- a/tigrc
+++ b/tigrc
@@ -22,6 +22,16 @@ bind generic * move-last-line
 # Close current view like in mutt.
 bind diff i view-close
 
+# Unbind commands which may change the repository. I use tig only as a viewer.
+bind generic u none
+bind generic ! none
+bind generic M none
+bind generic @ none
+bind generic e none
+bind generic G none
+bind generic C none
+bind generic i none
+
 
 # COLORS
 
@@ -31,6 +41,7 @@ color date      default default
 color delimiter default default # ~ if text is too long
 
 # Main window.
+color cursor         black   cyan         # currently selected line
 color main-author    default default      # just 'author' in newer versions
 color main-head      green   default bold # HEAD
 color main-ref       green   default      # branches
@@ -39,6 +50,7 @@ color main-tag       yellow  default bold # tags
 color main-local-tag yellow  default bold # local tags (normal tags)
 
 # Information at the top of the commit diff.
+color commit    default default
 color pp-adate  default default
 color pp-cdate  default default
 color pp-author default default
@@ -56,3 +68,5 @@ color acked     default default
 color diff-header default default bold # diff --git a/.. b/..
 color diff-index  default default bold # index abc..def
 color diff-chunk  cyan    default      # @@ -.. +.. @@
+
+# vim: ft=muttrc