tigrc(5): mention tree/blob view actions; use dash in favour of underscore
[tig] / tigrc
1 #
2 # Base configuration
3 #
4 # Syntax: set <option> = <value>
5
6 set show-rev-graph = yes        # Show revision graph?
7 set line-number-interval = 5    # Interval between line numbers
8 set tab-size = 8                # Number of spaces pr tab 
9 set commit-encoding = UTF-8     # Commit encoding
10
11 #
12 # Key configuration
13 #
14 # Syntax: bind <keymap> <key> <request>
15
16 bind main w scroll-line-up
17 bind main s scroll-line-down
18
19 bind diff a previous
20 bind diff d next
21 bind diff b move-first-line
22
23 bind generic g view-next
24
25 #
26 # Color configuration
27 #
28 # Syntax: color <line> <color> <color> [<attribute>]
29
30 # Diff colors
31 color diff-header        yellow  default
32 color diff-index         blue    default
33 color diff-chunk         magenta default
34 color diff-add           green   default
35 color diff-del           red     default
36 color diff-oldmode       yellow  default
37 color diff-newmode       yellow  default
38 color diff-copy-from     yellow  default
39 color diff-copy-to       yellow  default
40 color diff-rename-from   yellow  default
41 color diff-rename-to     yellow  default
42 color diff-similarity    yellow  default
43 color diff-dissimilarity yellow  default
44 color diff-tree          blue    default
45
46 # Pretty print commit header
47 color pp-author         cyan    default
48 color pp-commit         magenta default
49 color pp-merge          blue    default
50 color pp-date           yellow  default
51 color pp-adate          yellow  default
52 color pp-cdate          yellow  default
53
54 # Raw commit header
55 color commit            green   default
56 color parent            blue    default
57 color tree              blue    default
58 color author            cyan    default
59 color committer         magenta default
60
61 # Misc
62 color signoff           yellow  default
63
64 # UI colors
65 color default           default default
66 color cursor            white   green
67 color status            green   default
68 color title-blur        white   blue
69 color title-focus       white   blue    bold
70 color main-date         blue    default
71 color main-author       green   default
72 color main-commit       default default
73 color main-delim        magenta default
74 color main-tag          magenta default bold
75 color main-ref          cyan    default bold
76
77 # You can almost use vim: ft=muttrc