2023-04-13 17:40:27 +02:00
|
|
|
# Documentation:
|
2023-03-23 09:49:43 +01:00
|
|
|
# https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md
|
|
|
|
|
|
|
|
customCommands:
|
|
|
|
|
|
|
|
# files
|
|
|
|
- key: "z"
|
|
|
|
command: "cz commit"
|
|
|
|
description: "commit with commitizen"
|
|
|
|
context: "files"
|
|
|
|
loadingText: "opening commitizen commit tool"
|
|
|
|
subprocess: true
|
|
|
|
|
2023-04-06 12:11:48 +02:00
|
|
|
- key: "<c-z>"
|
|
|
|
command: "cz commit --retry"
|
|
|
|
description: "retry commitizen"
|
|
|
|
context: "files"
|
|
|
|
loadingText: "retrying commitizen commit"
|
|
|
|
subprocess: true
|
|
|
|
|
2023-03-23 09:49:43 +01:00
|
|
|
# remotes
|
|
|
|
- key: "<c-p>"
|
|
|
|
command: "git remote prune {{.SelectedRemote.Name}}"
|
|
|
|
context: "remotes"
|
|
|
|
loadingText: "Pruning..."
|
|
|
|
description: "prune deleted remote branches"
|
|
|
|
|
|
|
|
git:
|
|
|
|
autoFetch: true
|
|
|
|
autoRefresh: true
|
2023-09-29 19:32:18 +02:00
|
|
|
diffContextSize: 4
|
2023-03-23 09:49:43 +01:00
|
|
|
log:
|
2023-04-24 11:32:45 +02:00
|
|
|
order: 'date-order'
|
2023-03-23 09:49:43 +01:00
|
|
|
showWholeGraph: true
|
|
|
|
paging:
|
|
|
|
colorArg: always
|
|
|
|
pager: delta --features="lazygit my-style"
|
2023-04-11 10:52:05 +02:00
|
|
|
# https://dandavison.github.io/delta/
|
|
|
|
# https://github.com/dandavison/delta/releases
|
2023-03-23 09:49:43 +01:00
|
|
|
|
|
|
|
gui:
|
|
|
|
authorColors:
|
|
|
|
"Michel D'HOOGE": '#5ae615'
|
|
|
|
branchColors:
|
|
|
|
'main': '#1cdddd'
|
2023-06-13 12:09:17 +02:00
|
|
|
expandFocusedSidePanel: true
|
|
|
|
experimentalShowBranchHeads: true
|
2023-10-04 11:46:58 +02:00
|
|
|
mainPanelSplitMode: 'horizontal'
|
|
|
|
nerdFontsVersion: "3"
|
2023-03-23 09:49:43 +01:00
|
|
|
scrollHeight: 10
|
|
|
|
scrollPastBottom: false
|
|
|
|
showBottomLine: false
|
|
|
|
sidePanelWidth: .25
|
2023-04-06 12:11:48 +02:00
|
|
|
theme:
|
|
|
|
selectedLineBgColor: [reverse]
|
|
|
|
selectedRangeBgColor: [reverse]
|
2023-03-23 09:49:43 +01:00
|
|
|
timeFormat: '02 Jan 15:04'
|
|
|
|
|
2023-04-06 12:11:48 +02:00
|
|
|
keybinding:
|
2023-04-11 10:52:05 +02:00
|
|
|
# https://github.com/jesseduffield/lazygit/blob/master/docs/keybindings/Keybindings_en.md
|
|
|
|
# https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md#default
|
2023-04-06 12:11:48 +02:00
|
|
|
universal:
|
2023-04-11 10:52:05 +02:00
|
|
|
nextTab: ')'
|
|
|
|
prevTab: '('
|
|
|
|
nextScreenMode: '+'
|
|
|
|
prevScreenMode: '='
|
2023-04-06 12:11:48 +02:00
|
|
|
refresh: "<f5>"
|
|
|
|
|
2023-03-23 09:49:43 +01:00
|
|
|
notARepository: 'skip'
|
|
|
|
|
2024-02-23 15:48:08 +01:00
|
|
|
os:
|
|
|
|
editPreset: 'nvim'
|
|
|
|
|
2023-03-23 09:49:43 +01:00
|
|
|
refresher:
|
2023-04-06 12:11:48 +02:00
|
|
|
refreshInterval: 30
|
2023-03-23 09:49:43 +01:00
|
|
|
fetchInterval: 3600
|
|
|
|
|
|
|
|
# vi:nospell
|