|
1 | 1 | [user]
|
2 |
| - |
3 |
| - name = Ryan Chhong |
4 |
| - signingkey = ~/.ssh/id_rsa.pub |
| 2 | + |
| 3 | + name = Ryan Chhong |
| 4 | + signingkey = ~/.ssh/id_rsa.pub |
5 | 5 | [alias]
|
6 |
| - tree = log --all --decorate --oneline --graph |
| 6 | + tree = log --all --decorate --oneline --graph |
7 | 7 | # Space saver
|
8 |
| - compact = !git reflog expire --expire=0 --all && git repack -ad && git prune && git gc |
| 8 | + compact = !git reflog expire --expire=0 --all && git repack -ad && git prune && git gc |
9 | 9 | # Get gitignores
|
10 |
| - gitignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi" |
| 10 | + gitignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi" |
11 | 11 | # Ignore files only locally
|
12 | 12 | ignore = update-index --assume-unchanged
|
13 | 13 | unignore = update-index --no-assume-unchanged
|
|
19 | 19 | lol = log --oneline --graph --all
|
20 | 20 | # Color on
|
21 | 21 | [color]
|
22 |
| - ui = auto |
| 22 | + ui = auto |
23 | 23 | [core]
|
24 | 24 | excludesfile = ~/.gitignore_global
|
25 |
| - editor = nvim |
| 25 | + editor = nvim |
26 | 26 | pager = delta
|
27 | 27 | # Sign commits
|
28 | 28 | [commit]
|
29 |
| - gpgsign = true |
| 29 | + gpgsign = true |
30 | 30 | verbose = true
|
31 | 31 | # Catppuccin theme
|
32 | 32 | [delta "catppuccin-mocha"]
|
33 |
| - blame-palette = "#1e1e2e #181825 #11111b #313244 #45475a" |
34 |
| - commit-decoration-style = "box ul" |
35 |
| - dark = true |
36 |
| - file-decoration-style = "#cdd6f4" |
37 |
| - file-style = "#cdd6f4" |
38 |
| - hunk-header-decoration-style = "box ul" |
39 |
| - hunk-header-file-style = "bold" |
40 |
| - hunk-header-line-number-style = "bold #a6adc8" |
41 |
| - hunk-header-style = "file line-number syntax" |
42 |
| - line-numbers = true |
43 |
| - line-numbers-left-style = "#6c7086" |
44 |
| - line-numbers-minus-style = "bold #f38ba8" |
45 |
| - line-numbers-plus-style = "bold #a6e3a1" |
46 |
| - line-numbers-right-style = "#6c7086" |
47 |
| - line-numbers-zero-style = "#6c7086" |
48 |
| - # 25% red 75% base |
49 |
| - minus-emph-style = "bold syntax #53394c" |
50 |
| - # 10% red 90% base |
51 |
| - minus-style = "syntax #35293b" |
52 |
| - # 25% green 75% base |
53 |
| - plus-emph-style = "bold syntax #40504b" |
54 |
| - # 10% green 90% base |
55 |
| - plus-style = "syntax #2c333a" |
56 |
| - # Should match the name of the bat theme |
57 |
| - syntax-theme = "Catppuccin-mocha" |
| 33 | + blame-palette = "#1e1e2e #181825 #11111b #313244 #45475a" |
| 34 | + commit-decoration-style = "box ul" |
| 35 | + dark = true |
| 36 | + file-decoration-style = "#cdd6f4" |
| 37 | + file-style = "#cdd6f4" |
| 38 | + hunk-header-decoration-style = "box ul" |
| 39 | + hunk-header-file-style = "bold" |
| 40 | + hunk-header-line-number-style = "bold #a6adc8" |
| 41 | + hunk-header-style = "file line-number syntax" |
| 42 | + line-numbers = true |
| 43 | + line-numbers-left-style = "#6c7086" |
| 44 | + line-numbers-minus-style = "bold #f38ba8" |
| 45 | + line-numbers-plus-style = "bold #a6e3a1" |
| 46 | + line-numbers-right-style = "#6c7086" |
| 47 | + line-numbers-zero-style = "#6c7086" |
| 48 | + # 25% red 75% base |
| 49 | + minus-emph-style = "bold syntax #53394c" |
| 50 | + # 10% red 90% base |
| 51 | + minus-style = "syntax #35293b" |
| 52 | + # 25% green 75% base |
| 53 | + plus-emph-style = "bold syntax #40504b" |
| 54 | + # 10% green 90% base |
| 55 | + plus-style = "syntax #2c333a" |
| 56 | + # Should match the name of the bat theme |
| 57 | + syntax-theme = "Catppuccin-mocha" |
58 | 58 | # Delta configuration
|
59 | 59 | [delta]
|
60 | 60 | navigate = true # use n and N to move between diff sections
|
|
67 | 67 | colorMoved = default
|
68 | 68 | # Tell git about my ssh key
|
69 | 69 | [gpg]
|
70 |
| - format = ssh |
| 70 | + format = ssh |
71 | 71 | # [includeIf "gitdir:~/code/<work>/"]
|
72 | 72 | # path = "~/code/<work>/.gitconfig"
|
73 | 73 | # "main" as main branch
|
74 | 74 | [init]
|
75 |
| - defaultBranch = main |
| 75 | + defaultBranch = main |
76 | 76 | # Use delta
|
77 | 77 | [interactive]
|
78 | 78 | diffFilter = delta --color-only
|
|
89 | 89 | autosquash = true
|
90 | 90 | # Force ssh
|
91 | 91 |
|
92 |
| - insteadOf = "https://github.com/" |
| 92 | + insteadOf = "https://github.com/" |
93 | 93 | # Avoid data corruption
|
94 | 94 | [transfer]
|
95 |
| - fsckobjects = true |
| 95 | + fsckobjects = true |
96 | 96 | [fetch]
|
97 |
| - fsckobjects = true |
| 97 | + fsckobjects = true |
98 | 98 | [receive]
|
99 | 99 | fsckobjects = true
|
0 commit comments