1 # tig configuration file.
4 # Show the revision graph like gitk does.
5 set show-rev-graph = yes
8 set show-date = relative
13 # Allow moving in the main menu while displaying a diff in the bottom of the
16 bind generic K previous
18 # Mutt like bindings to move to first and last line.
19 bind generic = move-first-line
20 bind generic * move-last-line
22 # Close current view like in mutt.
23 bind diff i view-close
25 # Unbind commands which may change the repository. I use tig only as a viewer.
38 # Try to mimic gitk's colors.
40 color date default default
41 color delimiter default default # ~ if text is too long
44 color cursor black cyan # currently selected line
45 color main-author default default # just 'author' in newer versions
46 color main-head green default bold # HEAD
47 color main-ref green default # branches
48 color main-remote yellow default # remote branches
49 color main-tag yellow default bold # tags
50 color main-local-tag yellow default bold # local tags (normal tags)
52 # Information at the top of the commit diff.
53 color commit default default
54 color pp-adate default default
55 color pp-cdate default default
56 color pp-author default default
57 color pp-commit default default
58 color pp-merge default default
59 color pp-date default default
60 color pp-adate default default
61 color pp-cdate default default
62 color pp-refs default default
63 # Special parts of the commit message.
64 color signoff default default
65 color acked default default
68 color diff-header default default bold # diff --git a/.. b/..
69 color diff-index default default bold # index abc..def
70 color diff-chunk cyan default # @@ -.. +.. @@