]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - vcs/tigrc
vcs/git: disable textconv rules
[config/dotfiles.git] / vcs / tigrc
1 # tig configuration file.
2
3 # Copyright (C) 2011-2017  Simon Ruderich
4 #
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.
9 #
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.
14 #
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/>.
17
18
19 # Don't display uncommitted changes.
20 set show-changes = no
21
22 # Ignore case when searching.
23 set ignore-case = yes
24
25 # Don't write ~/.tig_history.
26 set history-size = 0
27
28
29 # DISPLAY
30
31 # Same as the default, but use relative dates.
32 set main-view = date:relative author:full commit-title:yes,graph,refs
33
34
35 # BINDINGS
36
37 # Allow moving in the main menu while displaying a diff in the bottom of the
38 # screen.
39 bind generic J next
40 bind generic K previous
41
42 # Mutt like bindings to move to first and last line.
43 bind generic = move-first-line
44 bind generic * move-last-line
45
46 # Close current view like in mutt.
47 bind diff i view-close
48
49 # Unbind unnecessary views. I only use the main view and view diffs of
50 # commits.
51 bind generic m none
52 bind generic d none
53 bind generic l none
54 bind generic t none
55 bind generic f none
56 bind generic b none
57 bind generic r none
58 bind generic s none
59 bind generic S none
60 bind generic c none
61 bind generic y none
62 bind generic g none
63 bind generic p none
64 # Unbind commands which may change the repository. I use tig only as a viewer.
65 bind main C none
66
67
68 # COLORS
69
70 # Try to mimic gitk's colors.
71
72 color date      default default
73 color delimiter default default # ~ if text is too long
74
75 # Main window.
76 color cursor         black   cyan         # currently selected line
77 color author         default default
78 color graph-commit   magenta default      # commit dots in graph
79 color main-head      green   default bold # HEAD
80 color main-ref       green   default      # branches
81 color main-remote    yellow  default      # remote branches
82 color main-tag       yellow  default bold # tags
83 color main-local-tag yellow  default bold # local tags (normal tags)
84
85 # Information at the top of the commit diff.
86 color commit                default default
87 color "Author: "            default default
88 color "Commit: "            default default
89 color pp-merge              default default
90 color "Date: "              default default
91 color "AuthorDate: "        default default
92 color "CommitDate: "        default default
93 color pp-refs               default default
94 # Special parts of the commit message.
95 color "    Signed-off-by"   default default
96 color "    Acked-by"        default default
97
98 # Diff coloring.
99 color diff-header default default bold # diff --git a/.. b/..
100 color diff-index  default default bold # index abc..def
101 color diff-chunk  cyan    default      # @@ -.. +.. @@
102
103 # vim: ft=muttrc