-
Notifications
You must be signed in to change notification settings - Fork 3
/
.tigrc
257 lines (251 loc) · 12.3 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# Saved by Tig
## Settings
set blame-options =
set blame-view = date:default,local=no,format= author:full file-name:auto id:yes,color=yes line-number:no,interval=5 text
set blob-view = line-number:no,interval=5 text
set commit-order = date
set diff-context = 3
set diff-noprefix = no
set diff-options =
set diff-view = line-number:yes,interval=5 text:yes,commit-title-overflow=50
set editor-line-number = yes
set file-filter = yes
set focus-child = yes
set git-colors = branch.current=main-head branch.local=main-ref branch.plain=main-ref branch.remote=main-remote diff.meta=diff-header diff.meta=diff-index diff.meta=diff-oldmode diff.meta=diff-newmode diff.frag=diff-chunk diff.old=diff-del diff.new=diff-add grep.filename=grep.file grep.linenumber=grep.line-number grep.separator=grep.delimiter status.branch=status.header status.added=stat-staged status.updated=stat-staged status.changed=stat-unstaged status.untracked=stat-untracked
set grep-view = file-name:no line-number:yes,interval=1 text
set horizontal-scroll = 50%
set id-width = 0
set ignore-case = no
set ignore-space = no
set line-graphics = utf-8
set log-options =
set log-view = line-number:no,interval=5 text
set mailmap = no
set main-options =
set main-view = line-number:no,interval=5 id:yes,color=no date:default,local=no,format= author:full commit-title:yes,graph=v2,refs=yes
set mouse = no
set mouse-scroll = 3
set pager-view = line-number:no,interval=5 text
set reference-format = [branch] {remote} <tag> ~replace~
set refresh-interval = 10
set refresh-mode = auto
set refs-view = line-number:no id:yes,color=no date:default,local=no,format= author:full ref commit-title:yes,graph=no,refs=no
set show-changes = yes
set show-notes = yes
set split-view-height = 67%
set split-view-width = 50%
set stage-view = line-number:no,interval=5 text
set stash-view = line-number:no,interval=5 id:yes,color=no date:default,local=no,format= author:full commit-title:yes,graph=no,refs=no
set status-untracked-dirs = yes
set status-view = line-number:no,interval=5 status:short file-name:auto
set tab-size = 8
set tree-view = line-number:no,interval=5 mode author:full file-size:default date:default,local=no,format= id:yes,color=no file-name:auto
set vertical-split = vertical
set wrap-lines = no
set wrap-search = yes
## Keybindings
# View switching
bind generic m view-main
bind generic d view-diff
bind generic l view-log
bind generic t view-tree
bind generic f view-blob
bind generic b view-blame
bind generic r view-refs
bind generic s view-status
bind generic S view-status
bind generic c view-stage
bind generic y view-stash
bind generic g view-grep
bind generic p view-pager
bind generic h view-help
# View manipulation
bind generic <Enter> enter
bind generic <LessThan> back
bind generic <Down> next
bind generic <Ctrl-N> next
bind generic J next
bind generic <Up> previous
bind generic <Ctrl-P> previous
bind generic K previous
bind generic , parent
bind generic <Tab> view-next
bind generic R refresh
bind generic <F5> refresh
bind generic O maximize
bind generic q view-close
bind generic Q quit
# Cursor navigation
bind generic k move-up
bind generic j move-down
bind generic <PageDown> move-page-down
bind generic <Ctrl-D> move-page-down
bind generic <Space> move-page-down
bind generic <PageUp> move-page-up
bind generic <Ctrl-U> move-page-up
bind generic - move-page-up
bind generic <Home> move-first-line
bind generic <End> move-last-line
# Scrolling
bind generic <Insert> scroll-line-up
bind generic <Ctrl-Y> scroll-line-up
bind generic <Delete> scroll-line-down
bind generic <Ctrl-E> scroll-line-down
bind generic <ScrollBack> scroll-page-up
bind generic <ScrollFwd> scroll-page-down
bind generic | scroll-first-col
bind generic <Left> scroll-left
bind generic <Right> scroll-right
# Searching
bind generic / search
bind generic ? search-back
bind generic n find-next
bind generic N find-prev
# Misc
bind generic e edit
bind generic : prompt
bind generic o options
bind generic <Ctrl-L> screen-redraw
bind generic z stop-loading
bind generic v show-version
# Option toggling:
bind generic I :toggle sort-order
bind generic i :toggle sort-field
bind generic <Hash> :toggle line-number
bind generic D :toggle date
bind generic A :toggle author
bind generic ~ :toggle line-graphics
bind generic F :toggle file-name
bind generic W :toggle ignore-space
bind generic X :toggle id
bind generic $ :toggle commit-title-overflow
bind generic % :toggle file-filter
# Searching
bind search <Down> find-next
bind search <Ctrl-N> find-next
bind search <Ctrl-J> find-next
bind search <Up> find-prev
bind search <Ctrl-P> find-prev
bind search <Ctrl-K> find-prev
# Option toggling:
bind main G :toggle commit-title-graph
bind main F :toggle commit-title-refs
# External commands:
bind main C ?git cherry-pick %(commit)
# Option toggling:
bind diff [ :toggle diff-context -1
bind diff ] :toggle diff-context +1
# Internal commands:
bind diff @ :/^@@
# External commands:
bind refs C ?git checkout %(branch)
bind refs ! ?git branch -D %(branch)
# View specific actions
bind status u status-update
bind status ! status-revert
bind status M status-merge
# External commands:
bind status C !git commit
# View specific actions
bind stage u status-update
bind stage ! status-revert
bind stage 1 stage-update-line
bind stage \ stage-split-chunk
# Option toggling:
bind stage [ :toggle diff-context -1
bind stage ] :toggle diff-context +1
# Internal commands:
bind stage @ :/^@@
# External commands:
bind stash P ?git stash pop %(stash)
bind stash ! ?git stash drop %(stash)
## Colors
color "diff --" yellow default
color "--- " yellow default
color "+++ " yellow default
color "---" blue default
color "@@" magenta default
color "+" green default
color " +" green default
color "-" red default
color " -" red default
color "index " blue default
color "old file mode " yellow default
color "new file mode " yellow default
color "similarity " yellow default
color "Merge: " blue default
color "Refs: " red default
color "Reflog: " red default
color "Reflog message: " yellow default
color "commit " green default
color "parent " blue default
color "tree " blue default
color "author " green default
color "committer " magenta default
color default default default
color cursor white green bold
color status green default
color delimiter magenta default
color date blue default
color mode cyan default
color id magenta default
color overflow red default
color directory yellow default
color file default default
color grep.file blue default
color file-size default default
color line-number cyan default
color title-blur white blue
color title-focus white blue bold
color header yellow default
color section cyan default
color main-commit default default
color main-tag magenta default bold
color main-local-tag magenta default
color main-remote yellow default
color main-replace cyan default
color main-tracked yellow default bold
color main-ref cyan default
color main-head cyan default bold
color stat-none default default
color stat-staged magenta default
color stat-unstaged magenta default
color stat-untracked magenta default
color help-group blue default
color help-action yellow default
color diff-stat blue default
color palette-0 magenta default
color palette-1 yellow default
color palette-2 cyan default
color palette-3 green default
color palette-4 default default
color palette-5 white default
color palette-6 red default
color palette-7 magenta default bold
color palette-8 yellow default bold
color palette-9 cyan default bold
color palette-10 green default bold
color palette-11 default default bold
color palette-12 white default bold
color palette-13 red default bold
color graph-commit blue default
color search-result black yellow
color "deleted file mode " yellow default
color "copy from " yellow default
color "copy to " yellow default
color "rename from " yellow default
color "rename to " yellow default
color "dissimilarity " yellow default
color "diff-tree " blue default
color "Author: " cyan default
color "Commit: " magenta default
color "Tagger: " magenta default
color "Date: " yellow default
color "AuthorDate: " yellow default
color "CommitDate: " yellow default
color "TaggerDate: " yellow default
color "stash@{" magenta default
color " Signed-off-by" yellow default
color " Acked-by" yellow default
color " Tested-by" yellow default
color " Reviewed-by" yellow default