-
Notifications
You must be signed in to change notification settings - Fork 7
/
.tigrc
142 lines (119 loc) ยท 4.24 KB
/
.tigrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# Tig Config
#
# Basic Config
#
# Just say no to 8 spaces
set tab-size = 4
set line-graphics = utf-8
#
# Keybindings
#
# Unbind commands
bind generic B none
bind generic H none
bind generic S none
bind generic b none
bind generic y none
bind generic o none
bind generic F none
# b for Branches
bind generic b view-refs
# B for Blame
bind generic B view-blame
# s for Status
bind generic s view-status
# S for Stash
bind generic S view-stash
# Up and down like vim
bind generic <Ctrl-f> move-page-down
bind generic <Ctrl-b> move-page-up
# o for open
bind generic o enter
# Maximize = Fullscreen
bind generic F maximize
#
# Colors
# Source:
# https://github.com/cbertoldi/dotfiles/blob/master/tigrc.symlink
#
# Syntax:
# *color* 'area' 'fgcolor' 'bgcolor' '[attributes]'
# vim: set expandtab sw=4 tabstop=4:
# *color* 'area' 'fgcolor' 'bgcolor' '[attributes]'
# general
color default 15 235
color cursor 15 241
color title-focus 242 221
color title-blur 242 221
color delimiter 213 default
color author 156 default
color date 81 default
color line-number 221 default
color mode 255 default
# main
color main-tag 213 default bold
color main-local-tag 213 default
color main-remote 221 default
color main-replace 81 default
color main-tracked 221 default bold
color main-ref 81 default
color main-head 213 default bold
color graph-commit 226 default
# status
#color stat-head 81 default
# Diff colors
color diff_add 10 default
color diff_add2 10 default
color diff_del 196 default
color diff_del2 196 default
color diff-header 221 default
color diff-index 81 default
color diff-chunk 213 default
color diff_oldmode 221 default
color diff_newmode 221 default
color 'deleted file mode' 221 default
color 'copy from' 223 default
color 'copy to' 221 default
color 'rename from' 221 default
color 'rename to' 221 default
color diff_similarity 221 default
color 'dissimilarity' 221 default
color 'diff_tree' 81 default
color diff-stat 81 default
color "Reported-by:" 156 default
color 'Author:' 156 default
color 'Commit:' 213 default
color 'AuthorDate:' 221 default
color 'CommitDate:' 221 default
color 'Date:' 81 default
color pp_refs 213 default
color palette-0 226 default
color palette-1 213 default
color palette-2 118 default
color palette-3 51 default
color palette-4 196 default
color palette-5 219 default
color palette-6 190 default
# status
color status.header 221 default
color status.section 81 default
color stat_staged 213 default
color stat_unstaged 213 default
color stat_untracked 213 default
# raw commit header
color commit 156 default
color committer 213 default
# commit message
color 'Signed-off-by' 221 default
color 'Acked-by' 221 default
color 'Tested-by' 221 default
color 'Reviewed-by' 221 default
# tree
color tree.directory 221 default
# LINE(PALETTE_0, "", COLOR_MAGENTA, COLOR_DEFAULT, 0), \
# LINE(PALETTE_1, "", COLOR_YELLOW, COLOR_DEFAULT, 0), \
# LINE(PALETTE_2, "", COLOR_CYAN, COLOR_DEFAULT, 0), \
# LINE(PALETTE_3, "", COLOR_GREEN, COLOR_DEFAULT, 0), \
# LINE(PALETTE_4, "", COLOR_DEFAULT, COLOR_DEFAULT, 0), \
# LINE(PALETTE_5, "", COLOR_WHITE, COLOR_DEFAULT, 0), \
# LINE(PALETTE_6, "", COLOR_RED, )