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

A new key binding action to move a tab #840

Open
agjini opened this issue Dec 8, 2024 · 4 comments
Open

A new key binding action to move a tab #840

agjini opened this issue Dec 8, 2024 · 4 comments

Comments

@agjini
Copy link

agjini commented Dec 8, 2024

It would be nice to have an action to set in the key bindings to move the current tab on the left, or move the current tab on the right. It is usefull to rearange tabs without closing it.

MoveToPrevTab

MoveToNextTab

@raphamorim
Copy link
Owner

Hey @agjini thanks for the issue!

When you mean move you mean switch tab context right? I don't see why not! cc @orhun

I think I prefer something like MoveCurrentTabToPrev or SwitchCurrentTabToPrev and SwitchCurrentTabToNext

@agjini
Copy link
Author

agjini commented Dec 8, 2024

Hello, thanks for your quick answer.

Yes I mean a switch between the current tab and the previous one while staying on the current tab (Which has moved). This way I can easily move the tab.

I like MoveCurrentTabToPrev/Next

@agjini
Copy link
Author

agjini commented Dec 11, 2024

I'll try to submit a PR ;-)

@agjini
Copy link
Author

agjini commented Dec 11, 2024

I think I have made a basic impl.
But this seems to not be simple for macos case when using native tabs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants