11

How can I change the active space while taking the active window with me?

In Gnome, I can press Shift-Ctrl-Arrow to move virtual desktops, bringing along the active window.

I'd love the functionality to be the same in Mac OS X using Spaces, any ideas?

Daniel Beck
  • 111,893
Adam
  • 141

4 Answers4

8

Unfortunately, there's no keyboard-only shortcut (AFAIK). However, if you click and hold the window you're trying to move and then use the keyboard shortcut you have assigned to the Space you want to move the window to (typically Ctrl+2 or whatever the Space number is), that will do what you're looking for (move the window to the chosen Space and make it the active one).

Source: Move windows to Spaces via keyboard shortcut Desktop

t-dub
  • 181
3

SizeUp offers this feature.

It's not possible without third party software, not even Hyperspaces does it, surprisingly.

Glorfindel
  • 4,158
Daniel Beck
  • 111,893
0

Skhd

skhd can do this and much much more if you install ChunkWM. It's free and open source. You can see how to set the hotkey to do exactly what you want in the example config file,

Code,

\# send window to desktop and follow focus
shift + cmd - x : chunkc tiling::window --send-to-desktop $(chunkc get _last_active_desktop); chunkc tiling::desktop --focus $(chunkc get _last_active_desktop)
shift + cmd - z : chunkc tiling::window --send-to-desktop prev; chunkc tiling::desktop --focus prev
shift + cmd - c : chunkc tiling::window --send-to-desktop next; chunkc tiling::desktop --focus next
shift + cmd - 1 : chunkc tiling::window --send-to-desktop 1; chunkc tiling::desktop --focus 1
shift + cmd - 2 : chunkc tiling::window --send-to-desktop 2; chunkc tiling::desktop --focus 2
shift + cmd - 3 : chunkc tiling::window --send-to-desktop 3; chunkc tiling::desktop --focus 3
shift + cmd - 4 : chunkc tiling::window --send-to-desktop 4; chunkc tiling::desktop --focus 4
shift + cmd - 5 : chunkc tiling::window --send-to-desktop 5; chunkc tiling::desktop --focus 5
shift + cmd - 6 : chunkc tiling::window --send-to-desktop 6; chunkc tiling::desktop --focus 6
# shift + cmd - 7 : chunkc tiling::window --send-to-desktop 7; chunkc tiling::desktop --focus 7
Evan Carroll
  • 9,518
0

Hold down the mouse button on the title bar of the window, then, whilst keeping the mouse button down, press the Control key and an arrow key.