]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tigrc
*: License under GPL v3+.
[config/dotfiles.git] / tigrc
diff --git a/tigrc b/tigrc
index b65feda2e281f10fa5b03132867e813c3de8ebb1..5e5256d1e2e3735dd25c7490f9faa5936986d6bc 100644 (file)
--- a/tigrc
+++ b/tigrc
@@ -1,5 +1,20 @@
 # tig configuration file.
 
+# Copyright (C) 2011-2012  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
 
 # Show the revision graph like gitk does.
 set show-rev-graph = yes
@@ -22,6 +37,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
 
@@ -41,8 +66,6 @@ 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
 color pp-commit default default
 color pp-merge  default default
@@ -58,3 +81,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