-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
195 lines (147 loc) · 3.64 KB
/
config
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
[user]
name = ObserverOfTime
email = chronobserver@disroot.org
signingkey = 8A2DEA1DBAEBCA9E
[core]
autocrlf = false
whitespace = cr-at-eol
editor = ${EDITOR:-nvim}
pager = ${PAGER:-nvimpager}
askpass = ksshaskpass
[extensions]
objectFormat = sha256
[init]
defaultBranch = master
[advice]
detachedHead = false
skippedCherryPicks = false
[credential]
helper = store
[credential "https://github.com"]
helper = !gh auth git-credential
[credential "https://gitlab.com"]
helper = !glab auth git-credential
[credential "https://framagit.org"]
helper = !glab auth git-crendential
[credential "https://gitlab.archlinux.org"]
helper = !glab auth git-crendential
[credential "https://invent.kde.org"]
helper = !glab auth git-crendential
[commit]
gpgSign = true
status = true
[push]
autoSetupRemote = true
[rebase]
autoSquash = true
[status]
submoduleSummary = 1
[tar "tar.gz"]
command = gzip -c -f -n
[tar "tgz"]
command = gzip -c -f -n
[tar "tar.bz2"]
command = bzip2 -c -f
[tar "tar.xz"]
command = xz -c -z -
[tar "tar.zst"]
command = zstd -c -z -q -
[tar "tar.lz"]
command = lzip -c -f
[tar "tar.lz4"]
command = lz4 -q
[tar "tar.br"]
command = brotli -c -f
[color]
ui = true
[color "grep"]
linenumber = yellow
filename = magenta
match = red bold
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = brightgreen bold
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = brightgreen bold
newHighlight = brightgreen bold 22
[diff]
wsErrorHighlight = all
mnemonicPrefix = true
colorMoved = default
[diff "hex"]
textconv = hexdump -v -C
[diff "pdf"]
textconv = pdfinfo
[difftool]
prompt = false
[difftool "nvim"]
cmd = nvim -d \"$LOCAL\" \"$REMOTE\"
[difftool "meld"]
cmd = meld \"$LOCAL\" \"$REMOTE\"
[difftool "magick"]
cmd = compare \"$LOCAL\" \"$REMOTE\" png:- | \
montage -geometry 400x -font \
Liberation-Sans -label l/%f \"$LOCAL\" \
-label diff - -label r/%f \"$REMOTE\" x:
[merge]
tool = fugitive
[mergetool]
keepBackup = false
[mergetool "fugitive"]
cmd = nvim --cmd let\\ g:_mergetool=v:true +Gvdiffsplit\\! \"$MERGED\"
[mergetool "meld"]
cmd = meld \"$LOCAL\" \"$BASE\" \"$REMOTE\" -o \"$MERGED\"
[pretty]
log = format:%C(auto,cyan)%h %Creset%s%d %C(auto,yellow)[%an] %C(auto,red)(%ad)
[grep]
lineNumber = true
patternType = perl
fallbackToNoIndex = true
[diff-so-fancy]
markEmptyLines = false
[delta]
navigate = true
line-numbers = true
relative-paths = true
syntax-theme = gruvbox-dark
pager = less -R
[alias]
list = shortlog -ns
last = log -1 HEAD
hist = log --date=short --graph --pretty=log
rev = log --decorate --reverse --no-merges --stat @{1}..
amend = commit --amend -uno -a
wdiff = diff --word-diff
conflicts = diff --name-only --diff-filter=U
root = rev-parse --show-toplevel
head = rev-parse HEAD
shallow = clone --single-branch --depth=1
compare = !git log $1...$2 --format=%m\\ %h\\ %s --left-right
repush = !git commit --amend -a --no-edit && git push --force-with-lease
autosquash = !git -c sequence.editor=: rebase -i --autosquash
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "git@github.com:"]
insteadOf = http://github.com/
insteadOf = @gh:
[url "git@gitlab.com:"]
insteadOf = http://gitlab.com/
insteadOf = @gl:
[url "git@git.disroot.org:"]
insteadOf = http://git.disroot.org/
insteadOf = @disroot:
[url "git@gitlab.archlinux.org:"]
insteadOf = http://gitlab.archlinux.org/
insteadOf = @arch:
[url "aur@aur.archlinux.org:"]
insteadOf = http://aur.archlinux.org/
insteadOf = @aur: