jesseduffield / lazygit

simple terminal UI for git commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Customize level for expandFocusedSidePanel

c02y opened this issue · comments


Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I set expandFocusedSidePanel = true in my config.yml, but the room for expandFocusedSidePane is still too small.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Minimize all the other side panels (like Status side panel), make room for focused side panel as much as possible, or provide a value such as expandFocusedSidePaneHeight for users, just like sidePanelWidth.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

I can get what I need Minimize all the other side panels by modify

} else if height >= 28 {
accordionMode := gui.c.UserConfig.Gui.ExpandFocusedSidePanel
accordionBox := func(defaultBox *boxlayout.Box) *boxlayout.Box {
if accordionMode && defaultBox.Window == currentWindow {
return &boxlayout.Box{
Window: defaultBox.Window,
Weight: 2,

Simply changing Weight: 2, into something like Weight: 100,, the layout will be:



But I believe it is just a bigger fixed value which is definitely a stupid solution, a variable like expandFocusedSidePaneHeight which is a percentage would be perfect.

ezoic increase your site revenue