[solved] Can I move a tab to the other window with a shortcut?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Jorge24
Junior Member
Junior Member
Posts: 53
Joined: 2016-11-06, 18:14 UTC
Location: USA

[solved] Can I move a tab to the other window with a shortcut?

Post by *Jorge24 »

I know there's the Ctrl + Right Arrow and Ctrl + Left Arrow shortcuts the will copy the current tab from the right/left window into the current tab of the other window. However what I'm trying to do is setup a shortcut to "move" the tab so basically:

- copy the current tab of a window
- open that copied directory into a new tab in the other window
- close the tab you originally copied
Last edited by Jorge24 on 2024-06-05, 05:07 UTC, edited 1 time in total.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Re: Can I move a tab to the other window with a shortcut?

Post by *Sir_SiLvA »

The closest to what you want would probably a user cmd with cm_OpenNewTabOther, cm_CloseCurrentTab and then put a shortcut on that user cmd.
Hoecker sie sind raus!
Jorge24
Junior Member
Junior Member
Posts: 53
Joined: 2016-11-06, 18:14 UTC
Location: USA

Re: Can I move a tab to the other window with a shortcut?

Post by *Jorge24 »

Sir_SiLvA wrote: 2024-06-04, 22:01 UTC The closest to what you want would probably a user cmd with cm_OpenNewTabOther, cm_CloseCurrentTab and then put a shortcut on that user cmd.
Thanks, I tried this but there's a small problem. After it opens the new tab on the other window, the "current tab" becomes the new one you just opened so cm_CloseCurrentTab ends up closing the tab you just opened.

I tried looking for something else like cm_CloseCurrentTabOther but it doesn't seem to exist.

Any ideas? Maybe there's a command to switch the active window I can put in between the other two commands?
I learned that pressing TAB allows me to switch to the other window but I'm not sure what the command for that switching is called.
Jorge24
Junior Member
Junior Member
Posts: 53
Joined: 2016-11-06, 18:14 UTC
Location: USA

Re: Can I move a tab to the other window with a shortcut?

Post by *Jorge24 »

oh I found the command to switch the window and got it working, thanks!
The whole thing is this now in case anyone ever looks this up:

Code: Select all

cm_OpenNewTabOther, cm_FocusTrg, cm_CloseCurrentTab
Post Reply