Switching all open windows on 2 displays with one keystroke At the moment I'm using two displays for my MacBook. The larger screen is the one I primarily use because of its available space. The smaller one (MacBook) is used to glance on if I ever need to check something. In the case that I watch a class on the secondary while working on the primary and something important comes up, I would like to switch the applications displayed on both screens with one keystroke (so if I have TextEdit and Safari open on the big screen, and YouTube on the small, I want to move TextEdit/Safari to the small and YouTube to the big screen with a single keystroke).

Hopefully someone has an idea to accomplish this.
You can set a shortcut to move among your screens. In fact, the monitor you add is just considered as another Desktop space. So you can perform the following steps:


Open System Preferences > Keyboard > Shortcuts tab;
On the left menu, select Mission Control;
There will appear some options. First of all, check that the Mission Control function is enabled. There will be consequently shown some other sub-options, such as "Switch to Desktop X", corresponding a certain shorcut. The default one is ctrl+X, where X is the number of Desktop to switch to. You can customize this shortcut as you prefer.


Then, you can just perform the shortcut corresponding in switching to the Desktop space you want and it's done.

If you don't know/remember the 'identification X' of your screen, just show your Mission Control (in my case pressing F9) and check for the Desktop number.