alkaa/roles/git/files/lazygit.yml

25 lines
604 B
YAML

git:
paging:
colorArg: always
pager: delta --paging=never
customCommands:
- key: "<c-p>"
command: "git remote prune {{.SelectedRemote.Name}}"
context: "remotes"
loadingText: "Pruning..."
description: "prune deleted remote branches"
- key: "<c-p>"
command: "git branch --merged develop | grep -v '^[ *]*develop$' | xargs git branch -d"
context: "localBranches"
loadingText: "Pruning..."
description: "prune local branches that have been merged to develop"
keybinding:
universal:
scrollLeft: '['
scrollRight: ']'
nextTab: 'L'
prevTab: 'H'