jesseduffield / jesseduffield/lazygit

mapping to toggle two layouts / pick a layout to disable

Open
#3,924 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.