-
Notifications
You must be signed in to change notification settings - Fork 0
/
tigrc
102 lines (91 loc) · 3.8 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
# vim: set expandtab sw=4 tabstop=4:
# *color* 'area' 'fgcolor' 'bgcolor' '[attributes]'
# SOURCE: https://github.com/cbertoldi/dotfiles/blob/master/tigrc.symlink
# Bindings
set main-view = line-number:no,interval=5 id:yes date:default author:full,width=0,maxwidth=10 commit-title:yes,graph,refs,overflow=no
set main-view-date = custom
set main-view-date-format = "%Y-%m-%d %H:%M"
set line-graphics = utf-8
set vertical-split = false
bind generic g none
bind generic gg move-first-line
bind generic G move-last-line
bind main G move-last-line
bind generic C !git commit -sv
# Verbose commit
bind status C !git commit -sv
# Create a branch
bind refs n !@git branch "%(prompt Enter branch name: )"
# Patch the current file
bind status P !git add --patch %(file)
## Colors
# 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 250 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