Skip to content

1-2-3-4-5 keys, expand active pane on the second tap #2575

@slavshik

Description

@slavshik

Is your feature request related to a problem? Please describe.
I use hotkeys 1-5 to focus on a pane right after I launch lazygit. I find it very handy and thank you for that ❤️
But I would like to request the ability to switch and focus on a pane using a single key pressed twice.

Describe the solution you'd like
Currently, I use the following hotkeys to focus on a specific pane:

  • 3 to focus on branches;
  • 4 to focus on logs;
  • 5 for stashes.

However, when working on a small monitor, I often need to expand the focused pane (Shift + =) right after the focus action, like 4 to focus on the log, press and hold Shift then + or ++ to enlarge the pane. I think it would be handy to add a second tab handler, like:

  • 5 to open stashes and 5 again to expand the pane;
  • or 4+4+4 to open logs in fullscreen right after I've launched lazygit.

Describe alternatives you've considered
Add Shift + <1-5> to focus on an expanded pane.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions