X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tigrc;h=aa74de13e13dc22a7a4cc84a87b7b01c559e8850;hb=530e9d8086345ec7013902f97a473d3eca52a2fb;hp=8d81ff214441b92c7e8db92319b4f481288d097a;hpb=09c1aaa8f009c127557a14ac74dc68fca9b898f0;p=config%2Fdotfiles.git diff --git a/tigrc b/tigrc index 8d81ff2..aa74de1 100644 --- 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 . + # Show the revision graph like gitk does. set show-rev-graph = yes @@ -7,6 +22,9 @@ set show-rev-graph = yes # Use relative dates. set show-date = relative +# Don't display uncommitted changes. +set show-changes = no + # BINDINGS @@ -22,6 +40,28 @@ bind generic * move-last-line # Close current view like in mutt. bind diff i view-close +# Unbind unnecessary views. I only use the main view and view diffs of +# commits. +bind generic m none +bind generic d none +bind generic l none +bind generic t none +bind generic f none +bind generic B none +bind generic H none +bind generic p none +bind generic S none +bind generic c none +# Unbind commands which may change the repository. I use tig only as a viewer. +bind generic C none +bind generic u none +bind generic ! none +bind generic M none +bind generic 1 none +bind generic @ none +bind generic e none +bind generic G none + # COLORS @@ -31,6 +71,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,8 +80,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 pp-adate default default -color pp-cdate default default +color commit default default color pp-author default default color pp-commit default default color pp-merge default default @@ -56,3 +96,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