feat: move tab to an existing window by orientation#4417
feat: move tab to an existing window by orientation#4417IdoKendo wants to merge 1 commit intophilc:masterfrom
Conversation
|
very interested in this feature! |
47927fc to
073f1e4
Compare
|
Thanks @IdoKendo for the PR.
More generally, I think the UX for this feature needs more discussion and finalization before we implement it. See #4640. |
As for myself, I like the simplicity and snappiness of this implementation and have been using the fork for quite a while, but I have no issue with discussing it further. |
2bea2e4 to
d0df19e
Compare
|
I really like that approach so I installed your fork (merged with current upstream master). It seems to not always find the right window. I most of the time have multiple windows on different desktops. The direction seems to be detected by desktop number. This in my case might not be right order in my case. I have very often desktop 2,3 on my left monitor and 0,1 on the right one. |
d0df19e to
086b95a
Compare
086b95a to
33f86be
Compare
33f86be to
213a528
Compare
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:
whwill move the tab to a window on the leftwlwill move the tab to a window on the rightwkwill move the tab to a window abovewjwill move the tab to a window belowAn example use case would be when a user moves a tab to a new window using the existing
Wbinding, and now wants to merge to back to the previous window, this feature adds this option, by allowing them to merge it usingwhas 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.