I have bound Control+H and Control+L to switch to the previous and next tmux windows. In OSX, I have a similar key combination ⌘+⌥+Left/Right to move between spaces.
I want to set it up so that I can use the same keys for both - so if I am moving between spaces in OSX and get to fullscreen tmux, it starts switch through tmux windows, and if there are no more tmux windows then goes to the next space.
How could I go about this?