Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to remove tips #1730

Open
M1cha opened this issue Sep 13, 2022 · 6 comments
Open

option to remove tips #1730

M1cha opened this issue Sep 13, 2022 · 6 comments
Labels
enhancement New feature or request plugin system Enhancement or fixes related to plugin system

Comments

@M1cha
Copy link

M1cha commented Sep 13, 2022

This is great for newbies but at some point it's just useless information and wasting vertical screen space so it'd be great if they could be disabled.

To be clear: I know about the compact layout but that's not what I want. Removing the tips would free up a row. When I switch to a mode like TAB which prints key bindings, that row should re-appear temporarily to show them.

@jaeheonji jaeheonji added enhancement New feature or request plugin system Enhancement or fixes related to plugin system labels Sep 14, 2022
@jaeheonji
Copy link
Member

Note: depend on #317

@syepes
Copy link

syepes commented Sep 19, 2022

+1

@max-sixty
Copy link

This would be great for the "feel" of the tool as well as its utility.

Particularly since the tips are possibly not built with quite the same greatness as other parts of Zellij — I currently have a tip about When changing focus with Alt + <nil>...

@daniel-hernandez-sony
Copy link

I assume there is no updates on this? This would be super helpful for my workflow where I don't have a big screen sometimes and I'm losing good real estate

@rlch
Copy link

rlch commented Jul 11, 2023

This seems to fix your issue @M1cha:


The default layout.kdl looks like:

layout {
  pane size=1 borderless=true {
    plugin location="zellij:tab-bar"
  }
  pane
  pane size=2 borderless=true {
    plugin location="zellij:status-bar"
  }
}

The status-bar plugin behaves well with size=1, hiding the tips as required. When a mode is activated, the row switches to the key-bindings relevant to that row. See the docs for info about changing the default layout.

@daniel-hernandez-sony
Copy link

@rlch , thank you so much, this is perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin system Enhancement or fixes related to plugin system
Projects
None yet
Development

No branches or pull requests

6 participants