-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
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 (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.