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

[feature request] repeat alt+letter to jump to the previous focused tab #362

Open
eoli3n opened this issue Nov 8, 2021 · 3 comments
Open
Labels
feature request libtiny_tui Issues/PRs related to the TUI library

Comments

@eoli3n
Copy link

eoli3n commented Nov 8, 2021

I like that feature of sway, and it would be great to be able to use it with tiny.

workspace_auto_back_and_forth yes|no
When yes, repeating a workspace switch command will switch back to the prior workspace. For example, if you are currently on workspace 1, switch to workspace 2, then invoke the workspace 2 command again, you will be returned to workspace 1. Default is no.
@osa1
Copy link
Owner

osa1 commented Nov 8, 2021

Sounds like a good idea to me 👍

@osa1 osa1 added feature request libtiny_tui Issues/PRs related to the TUI library labels Nov 8, 2021
@Kabouik
Copy link

Kabouik commented Oct 3, 2023

I like that feature in Sway too but am not sure how to reconcile it with the current behaviour in tiny when there are multiple channels using the same letter, which inevitably happens when many channels are listed. Currently, pressing Alt+letter will cycle through those channels. Having letters automatically set for all channels is convenient too, so disabling that to avoid duplicate keybinds would be frustrating.

Would it work if /switch without a suffix brings back to the last used channel, and gets a keybind?

@osa1
Copy link
Owner

osa1 commented Oct 4, 2023

Right, I think we want to make this work with alt+number combinations, not with alt+letter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request libtiny_tui Issues/PRs related to the TUI library
Projects
None yet
Development

No branches or pull requests

3 participants