]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - tigrc
tigrc: Unbind all commands which may change the repository.
[config/dotfiles.git] / tigrc
1 # tig configuration file.
2
3
4 # Show the revision graph like gitk does.
5 set show-rev-graph = yes
6
7 # Use relative dates.
8 set show-date = relative
9
10
11 # BINDINGS
12
13 # Allow moving in the main menu while displaying a diff in the bottom of the
14 # screen.
15 bind generic J next
16 bind generic K previous
17
18 # Mutt like bindings to move to first and last line.
19 bind generic = move-first-line
20 bind generic * move-last-line
21
22 # Close current view like in mutt.
23 bind diff i view-close
24
25 # Unbind commands which may change the repository. I use tig only as a viewer.
26 bind generic u none
27 bind generic ! none
28 bind generic M none
29 bind generic @ none
30 bind generic e none
31 bind generic G none
32 bind generic C none
33 bind generic i none
34
35
36 # COLORS
37
38 # Try to mimic gitk's colors.
39
40 color date      default default
41 color delimiter default default # ~ if text is too long
42
43 # Main window.
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)
51
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
66
67 # Diff coloring.
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      # @@ -.. +.. @@
71
72 # vim: ft=muttrc