-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtigrc
More file actions
87 lines (71 loc) · 2.37 KB
/
tigrc
File metadata and controls
87 lines (71 loc) · 2.37 KB
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
#==================================
# GENERAL SETTINGS
#==================================
set main-view = line-number:no,interval=5 id:yes date author:full commit-title:yes,graph,refs,overflow=no
set diff-context = 5
set horizontal-scroll = 20%
set line-graphics = utf-8
set show-changes = true
set tab-size = 2
set vertical-split = horizontal
set wrap-lines = yes
#==================================
# COLOR SETTINGS
#==================================
# general
color author 3 default
color commit 11 default
color cursor 2 0
color default default default
color id 3 default
color parent default default
color status default default
color title-blur default default
color title-focus 3 default
# diff highlighting
color diff-add default default
color diff-chunk 3 default
color "copy from " 9 default
color "copy to " 2 default
color diff-del default default
color "dissimilarity " default default
color diff-header 4 default
color diff-index default default
color diff-newmode 2 default
color diff-oldmode 9 default
color "rename from " 9 default
color "rename to " 2 default
color diff-similarity default default
color "diff-tree " default default
# commit headers pretty prints
color "AuthorDate: " 11 default
color "author " 3 default
color "CommitDate: " 11 default
color "commit " 3 default
color date 11 default
color "Merge: " default default
color "Refs: " default default
# main view colors
color main-head default default
color main-local-tag default default
color main-ref default default
color main-remote default default
color main-tag default default
color main-tracked default default
# tree view
color tree.header default default
color tree.directory default default
color tree.file default default
#==================================
# KEYBINDINGS SETTINGS
#==================================
# show git log
bind main 3 !git log %(file)
# interactive rebase
bind main 5 !git rebase -i %(commit)^
bind diff 5 !git rebase -i %(commit)^
# show diff between versions
bind diff 7 !git diff %(commit)^ %(commit)
# other bins
bind generic > !git push %(remote) %(branch)
bind refs J !git checkout %(branch)