You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I understand it, there are three view size: full, half, normal.
There is a single key in the config file that utilizes the 3 view sizes mentioned above, gui.windowSize. This key only affects the "main" window, which is the one you are presented with just running lazygit without positional args. This all works great.
However, when using positional args (i.e. lazygit stash or lazygit log), the key above does not take effect. I'm not proposing that it should. Instead, I'd like to suggest a new key gui.panelWindowSize (name up for bike-shedding), which controls the default view mode when launching lazygit with a positional argument.
Why?
lazygit stash, in most situations, isn't very useful unless you press _ once (to half) to see the diff because the stash names all look similar so it's difficult to know which is which.
If your workflow has you opening lazygit (stash|log|branch) in a full-screen window (as opposed to a tmux vertical split), then you almost always have a lot (right half+ of the screen) of empty space anyways. So it would make sense for you to set this new flag to half.
The text was updated successfully, but these errors were encountered:
Previously, lazygit status, log, or branch always opened in a full
window size regardless of the gui.windowSize value. Now,
gui.panelWindowSize configures the window size per arg (and no arg can
be configured as "main") regardless of requested filter path.
Closesjesseduffield#3042
As I understand it, there are three view size:
full
,half
,normal
.There is a single key in the config file that utilizes the 3 view sizes mentioned above,
gui.windowSize
. This key only affects the "main" window, which is the one you are presented with just runninglazygit
without positional args. This all works great.However, when using positional args (i.e.
lazygit stash
orlazygit log
), the key above does not take effect. I'm not proposing that it should. Instead, I'd like to suggest a new keygui.panelWindowSize
(name up for bike-shedding), which controls the default view mode when launching lazygit with a positional argument.Why?
lazygit stash
, in most situations, isn't very useful unless you press_
once (tohalf
) to see the diff because the stash names all look similar so it's difficult to know which is which.If your workflow has you opening
lazygit (stash|log|branch)
in a full-screen window (as opposed to a tmux vertical split), then you almost always have a lot (right half+ of the screen) of empty space anyways. So it would make sense for you to set this new flag tohalf
.The text was updated successfully, but these errors were encountered: