1 # tig configuration file.
3 # Copyright (C) 2011-2015 Simon Ruderich
5 # This file is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <http://www.gnu.org/licenses/>.
19 # Don't display uncommitted changes.
22 # Ignore case when searching.
28 # Same as the default, but use relative dates.
29 set main-view = date:relative author:full commit-title:yes,graph,refs
34 # Allow moving in the main menu while displaying a diff in the bottom of the
37 bind generic K previous
39 # Mutt like bindings to move to first and last line.
40 bind generic = move-first-line
41 bind generic * move-last-line
43 # Close current view like in mutt.
44 bind diff i view-close
46 # Unbind unnecessary views. I only use the main view and view diffs of
61 # Unbind commands which may change the repository. I use tig only as a viewer.
67 # Try to mimic gitk's colors.
69 color date default default
70 color delimiter default default # ~ if text is too long
73 color cursor black cyan # currently selected line
74 color author default default
75 color main-head green default bold # HEAD
76 color main-ref green default # branches
77 color main-remote yellow default # remote branches
78 color main-tag yellow default bold # tags
79 color main-local-tag yellow default bold # local tags (normal tags)
81 # Information at the top of the commit diff.
82 color commit default default
83 color "Author: " default default
84 color "Commit: " default default
85 color pp-merge default default
86 color "Date: " default default
87 color "AuthorDate: " default default
88 color "CommitDate: " default default
89 color pp-refs default default
90 # Special parts of the commit message.
91 color " Signed-off-by" default default
92 color " Acked-by" default default
95 color diff-header default default bold # diff --git a/.. b/..
96 color diff-index default default bold # index abc..def
97 color diff-chunk cyan default # @@ -.. +.. @@