feat(lazygit): add delta hyprlinks

This commit is contained in:
Sergio Laín 2024-09-07 14:35:17 +02:00
parent 55dc14cf56
commit 01a5c9512a
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -40,20 +40,17 @@ gui:
skipRewordInEditorWarning: false # for skipping the confirmation before launching the reword editor skipRewordInEditorWarning: false # for skipping the confirmation before launching the reword editor
border: "rounded" # one of 'single' | 'double' | 'rounded' | 'hidden' border: "rounded" # one of 'single' | 'double' | 'rounded' | 'hidden'
statusPanelView: "dashboard" statusPanelView: "dashboard"
git: git:
paging: paging:
pager: delta --paging=never colorArg: always
pager: delta --paging=never --line-numbers --hyperlinks --hyperlinks-file-link-format="lazygit-edit://{path}:{line}"
branchLogCmd: "git log --graph --color=always --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' {{branchName}} --" branchLogCmd: "git log --graph --color=always --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' {{branchName}} --"
allBranchesLogCmd: "git log --graph --all --color=always --abbrev-commit --date-relative --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'" allBranchesLogCmd: "git log --graph --all --color=always --abbrev-commit --date-relative --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'"
parseEmoji: true parseEmoji: true
os: os:
editPreset: "nvim-remote" # see 'Configuring File Editing' section editPreset: "nvim-remote" # see 'Configuring File Editing' section
disableStartupPopups: true disableStartupPopups: true
notARepository: "skip" # one of: 'prompt' | 'create' | 'skip' | 'quit' notARepository: "skip" # one of: 'prompt' | 'create' | 'skip' | 'quit'
keybinding: keybinding:
universal: universal:
quit: "q" quit: "q"
@ -94,7 +91,7 @@ keybinding:
scrollDownMain-alt1: "<c-d>" # main panel scroll down scrollDownMain-alt1: "<c-d>" # main panel scroll down
scrollUpMain-alt2: "<disabled>" # main panel scroll up scrollUpMain-alt2: "<disabled>" # main panel scroll up
scrollDownMain-alt2: "<disabled>" # main panel scroll down scrollDownMain-alt2: "<disabled>" # main panel scroll down
executeCustomCommand: ":" executeShellCommand: ":"
createRebaseOptionsMenu: "m" createRebaseOptionsMenu: "m"
pushFiles: "P" pushFiles: "P"
pullFiles: "p" pullFiles: "p"
@ -178,7 +175,6 @@ keybinding:
init: "i" init: "i"
update: "u" update: "u"
bulkMenu: "b" bulkMenu: "b"
customCommands: customCommands:
- key: "C" - key: "C"
command: "git cz" command: "git cz"