75 lines
1.7 KiB
YAML
75 lines
1.7 KiB
YAML
# Documentation:
|
|
# https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md
|
|
#
|
|
# To upgrade to latest binary:
|
|
# `go install github.com/jesseduffield/lazygit@latest`
|
|
|
|
customCommands:
|
|
|
|
# files
|
|
- key: "z"
|
|
command: "cz commit"
|
|
description: "commit with commitizen"
|
|
context: "files"
|
|
loadingText: "opening commitizen commit tool"
|
|
subprocess: true
|
|
|
|
- key: "<c-z>"
|
|
command: "cz commit --retry"
|
|
description: "retry commitizen"
|
|
context: "files"
|
|
loadingText: "retrying commitizen commit"
|
|
subprocess: true
|
|
|
|
# remotes
|
|
- key: "<c-p>"
|
|
command: "git remote prune {{.SelectedRemote.Name}}"
|
|
context: "remotes"
|
|
loadingText: "Pruning..."
|
|
description: "prune deleted remote branches"
|
|
|
|
git:
|
|
autoFetch: true
|
|
autoRefresh: true
|
|
log:
|
|
order: 'date-order'
|
|
showWholeGraph: true
|
|
paging:
|
|
colorArg: always
|
|
pager: delta --features="lazygit my-style"
|
|
# https://dandavison.github.io/delta/
|
|
# https://github.com/dandavison/delta/releases
|
|
|
|
gui:
|
|
authorColors:
|
|
"Michel D'HOOGE": '#5ae615'
|
|
branchColors:
|
|
'main': '#1cdddd'
|
|
scrollHeight: 10
|
|
scrollPastBottom: false
|
|
showBottomLine: false
|
|
showIcons: true
|
|
sidePanelWidth: .25
|
|
theme:
|
|
selectedLineBgColor: [reverse]
|
|
selectedRangeBgColor: [reverse]
|
|
timeFormat: '02 Jan 15:04'
|
|
|
|
keybinding:
|
|
# https://github.com/jesseduffield/lazygit/blob/master/docs/keybindings/Keybindings_en.md
|
|
# https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md#default
|
|
universal:
|
|
nextTab: ')'
|
|
prevTab: '('
|
|
nextScreenMode: '+'
|
|
prevScreenMode: '='
|
|
refresh: "<f5>"
|
|
|
|
notARepository: 'skip'
|
|
|
|
refresher:
|
|
refreshInterval: 30
|
|
fetchInterval: 3600
|
|
|
|
# vi:nospell
|