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