I think Ubuntu's current approach to desktop window management is more efficient than macOS's.
For example, if we have 4 different workspace areas (a.k.a. Desktop in macOS world), when you do ^ Option+Tab, you switch only between the windows in the same workspace.
On the other hand, Mac's ⌘ Command+Tab changes between the applications, and if the same application (for example Chrome) serves in different windows, you may end up in a different mission's desktop.
So my question is how can I adopt Ubuntu's approach for macOS?
This question is not a key mapping question, I am not asking if there is a method to map the keys similarly to Ubuntu. I am asking, for a method to use ⌘ Command+Tab or any other key combination to change windows only within the active desktop if that's possible.
Let me give an example. Assume the following state.
- Desktop 1: Chrome-1, Safari
- Desktop 2: Chrome-2, Firefox
When I am on Desktop 1, I want to switch only between Chrome-1 and Safari and never see Firefox and Chrome-2.