🎨 ux(lazygit): better log

This commit is contained in:
Sergio Laín 2023-11-23 23:50:36 +01:00
parent 7306aa23fb
commit 03767f94b3
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 6 additions and 7 deletions

View file

@ -24,7 +24,7 @@ bold_italic_font JetBrainsMono NF Medium Italic
#: italic_font Operator Mono Book Italic #: italic_font Operator Mono Book Italic
#: bold_italic_font Operator Mono Medium Italic #: bold_italic_font Operator Mono Medium Italic
font_size 10.0 font_size 10.6
#: Font size (in pts) #: Font size (in pts)

View file

@ -1,10 +1,10 @@
gui: gui:
# stuff relating to the UI # stuff relating to the UI
windowSize: "normal" # one of 'normal' | 'half' | 'full' default is 'normal' windowSize: "normal" # one of 'normal' | 'half' | 'full' default is 'normal'
scrollHeight: 2 # how many lines you scroll by scrollHeight: 10 # how many lines you scroll by
scrollPastBottom: true # enable scrolling past the bottom scrollPastBottom: true # enable scrolling past the bottom
sidePanelWidth: 0.3333 # number from 0 to 1 sidePanelWidth: 0.3333 # number from 0 to 1
expandFocusedSidePanel: false expandFocusedSidePanel: true
mainPanelSplitMode: "flexible" # one of 'horizontal' | 'flexible' | 'vertical' mainPanelSplitMode: "flexible" # one of 'horizontal' | 'flexible' | 'vertical'
language: "auto" # one of 'auto' | 'en' | 'zh' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru' language: "auto" # one of 'auto' | 'en' | 'zh' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru'
timeFormat: "02 Jan 06" # https://pkg.go.dev/time#Time.Format timeFormat: "02 Jan 06" # https://pkg.go.dev/time#Time.Format
@ -36,7 +36,6 @@ gui:
showListFooter: true # for seeing the '5 of 20' message in list panels showListFooter: true # for seeing the '5 of 20' message in list panels
showRandomTip: true showRandomTip: true
showBranchCommitHash: false # show commit hashes alongside branch names showBranchCommitHash: false # show commit hashes alongside branch names
experimentalShowBranchHeads: false # visualize branch heads with (*) in commits list
showBottomLine: true # for hiding the bottom information line (unless it has important information to tell you) showBottomLine: true # for hiding the bottom information line (unless it has important information to tell you)
showCommandLog: true showCommandLog: true
nerdFontsVersion: "3" # nerd fonts version to use ("2" or "3"); empty means don't show nerd font icons nerdFontsVersion: "3" # nerd fonts version to use ("2" or "3"); empty means don't show nerd font icons
@ -72,8 +71,8 @@ git:
autoFetch: true autoFetch: true
autoRefresh: true autoRefresh: true
fetchAll: true # Pass --all flag when running git fetch. Set to false to fetch only origin (or the current branch's upstream remote if there is one) fetchAll: true # Pass --all flag when running git fetch. Set to false to fetch only origin (or the current branch's upstream remote if there is one)
branchLogCmd: "git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium {{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 --decorate --date=relative --pretty=medium" 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)'"
overrideGpg: false # prevents lazygit from spawning a separate process when using GPG overrideGpg: false # prevents lazygit from spawning a separate process when using GPG
disableForcePushing: false disableForcePushing: false
parseEmoji: false parseEmoji: false
@ -93,7 +92,7 @@ confirmOnQuit: false
# determines whether hitting 'esc' will quit the application when there is nothing to cancel/close # determines whether hitting 'esc' will quit the application when there is nothing to cancel/close
quitOnTopLevelReturn: false quitOnTopLevelReturn: false
disableStartupPopups: false disableStartupPopups: false
notARepository: "prompt" # one of: 'prompt' | 'create' | 'skip' | 'quit' notARepository: "skip" # one of: 'prompt' | 'create' | 'skip' | 'quit'
promptToReturnFromSubprocess: true # display confirmation when subprocess terminates promptToReturnFromSubprocess: true # display confirmation when subprocess terminates
keybinding: keybinding:
universal: universal: