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

feat: move tab to an existing window by orientation #4417

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

IdoKendo
Copy link

@IdoKendo IdoKendo commented Feb 7, 2024

Description

Following the PR at #3925 -- this PR adds a new feature, to move the current tab to an existing window.

This solution takes a different approach, and merges the tab to an existing window, by the relative direction, in order to provide a quicker and seamless motions, following the hjkl paradigm:

  • wh will move the tab to a window on the left
  • wl will move the tab to a window on the right
  • wk will move the tab to a window above
  • wj will move the tab to a window below

An example use case would be when a user moves a tab to a new window using the existing W binding, and now wants to merge to back to the previous window, this feature adds this option, by allowing them to merge it using wh as an example, if the previous window was to the left of the new one.

This also allows moving tabs between existing windows in order to rearrange the tabs between windows without using the mouse.

@YoavBaavour
Copy link

very interested in this feature!

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

Successfully merging this pull request may close these issues.

None yet

2 participants