points/.config/lazygit/config.yml

79 lines
1.7 KiB
YAML

# Documentation:
# 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
- 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
diffContextSize: 4
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'
expandFocusedSidePanel: true
experimentalShowBranchHeads: true
mainPanelSplitMode: 'horizontal'
nerdFontsVersion: "3"
scrollHeight: 10
scrollPastBottom: false
showBottomLine: false
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'
os:
editPreset: 'nvim'
refresher:
refreshInterval: 30
fetchInterval: 3600
# vi:nospell