]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - tigrc
tigrc: Add bindings for easy moving in main screen.
[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
8 # BINDINGS
9
10 # Allow moving in the main menu while displaying a diff in the bottom of the
11 # screen.
12 bind generic J next
13 bind generic K previous
14
15
16 # COLORS
17
18 # Try to mimic gitk's colors.
19
20 color date   default default
21
22 color delimiter default default # ~ if text is too long
23
24 # Main window.
25 color main-author    default default      # just 'author' in newer versions
26 color main-head      green   default bold # HEAD
27 color main-ref       green   default      # branches
28 color main-remote    yellow  default      # remote branches
29 color main-tag       yellow  default bold # tags
30 color main-local-tag yellow  default bold # local tags (normal tags)
31
32 # Information at the top of the commit diff.
33 color pp-adate  default default
34 color pp-cdate  default default
35 color pp-author default default
36 color pp-commit default default
37 color pp-merge  default default
38 color pp-date   default default
39 color pp-adate  default default
40 color pp-cdate  default default
41 color pp-refs   default default
42 # Special parts of the commit message.
43 color signoff   default default
44 color acked     default default
45
46 # Diff coloring.
47 color diff-header default default bold # diff --git a/.. b/..
48 color diff-index  default default bold # index abc..def
49 color diff-chunk  cyan    default      # @@ -.. +.. @@