-
-
Notifications
You must be signed in to change notification settings - Fork 678
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
feat: add moving tab to other position #3047
feat: add moving tab to other position #3047
Conversation
I think a much visually impressive demo would be if each tab had multiple panes, this also would serve as a test/reassurance that this feature does work with multi-pane tabs. Or maybe some tabs have 1 pane, and some tabs have multiple panes. |
That's a good point. Added demo with more complex scenarios (multi-pane, single-pane, sync tabs). |
It really looks cool! I'll review it soon :) Before that, I have one request. Please remove the |
Hi @jaeheonji, thank you :) I'll revert |
Thanks for working on this feature! I'm a new user and was missing it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry. The review is late due to a personal issue. I haven't run the test yet, but I left a few comments. 😃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! I think we are almost done.
Functionally I think I'm ready to merge now. But before that, I suggest some minor refactoring. Please take a look.
@jaeheonji perfect. Thank you for the review 👍 . I'll take a look asap. Probably this weekend |
@devzbysiu Great :) Actually, We plan to make a new release this weekend or next week. And we're hoping to include this feature in the next version. So, if you need any help, please let me know! then, I will update the refactoring part. |
LGTM. Really Good! After CI is passed, I will merge as soon as possible. |
Speaking of, when can we expect this feature in a new release? |
It's highly likely this release happens in April, but please don't come after me if it takes longer. |
Hi, I know you said to not come after you if it takes longer, but it is almost end of may now, and I'd love an update on the progress |
It's in the latest release here: https://github.com/zellij-org/zellij/releases/tag/v0.40.1 |
Is it described in the release notes? I can't see any mention of it. |
|
Same bindings as in the OP. You probably can get a new version of the config by renaming the existing config file. I think they should appear there. |
doing |
Yeah, these key combinations are used by default on macOS for the slanted o/caret. I added these key bindings, so that I can do Shift left/right in tab mode to move around tabs:
|
Nice idea, love it! I improve it a little bit by also adding the "h" and "l" for moving with shift.
|
This PR adds a possibility to move tab to other position (#1656)
Details:
Alt + i
for moving tab left andAlt + o
for moving tab right (no particular reason for those bindings, I just picked something available and close to "hjkl
row")changelog- changed separately after mergestrings!
macro to the main module file and reused it in all tip files)Demo:
zellij-tabs-showcase.webm
Edit:
Demo of more complex scenarios:
zellij-tabs-complex-showcase.webm