lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

mapping to toggle two layouts / pick a layout to disable

Open Axlefublr opened this issue 1 year ago • 0 comments

There's a layout I never use: the "half" layout.
I always skip over it in my usage; I would like to have an ability to just toggle between the normal and fullscreen layout.
This can either be achieved with a mappable action called something like "toggle fullscreen"
or via a setting called "disabled_layouts" where you could specify layout(s) that you would want to disable.
I guess only disabling one layout makes any sense though.

Currently I take direction into consideration, when using +/_, to skip the half layout
While this works technically, I don't want the half layout to begin with, so I would love to be able to express "go to the other layout I want" more directly.

I did a quick search of the issues, and didn't find this. I'm sorry if this was already discussed and I missed it.
I was hoping to use a custom command for this instead, but it seems like they are for shell commands specifically, not interacting with lazygit's ui.

Axlefublr avatar Sep 19 '24 09:09 Axlefublr