But alt on a Windows keyboard layout and and command on a Mac keyboard layout are the same key location, so I don't understand how you can be confused by this... maybe stop looking at the keyboard?
But alt on a Windows keyboard layout and and command on a Mac keyboard layout are the same key location, so I don't understand how you can be confused by this... maybe stop looking at the keyboard?
So if you work in an IDE, keep reading docs in one Firefox window and test your application in another Firefox window then in KDE or XFCE or another sane windowing system[1] - even Windows - you just use alt - tab.
On Mac you have to stop an think: Should I switch to another browser Window? Ok, that is CMD - backtick. Switch to or from IDE? That is CMD - tab.
Press the wrong combination? Now Cyberduck has entered the mix.
[1]:I was about to write Windows or Linux but starting with Unity and now also Gnome has copied this to be bug comptible with Mac
The only annoyance is that it doesn't seem to distinguish between window types so, e.g., in GIMP in multiple window mode it also cycles between utility windows like the toolbar, options, etc instead of only the image windows - though some applications do not even bother providing window hints about their window types.
This is simultaneously one of the saddest and funniest things I've read about GNOME in a while (which has a surprisingly high bar on both accounts)
Settings -> Keyboard -> View and Customize Shortcuts -> Switch windows -> Alt + Tab
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-windows-backward "['<Shift><Alt>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications "[]"
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "[]"
I ended up installing https://alt-tab-macos.netlify.app/ which adds a keystroke that will cycle through all windows in all apps on all spaces. It's a huge improvement.
It's still not as nice as alt-tab, though. Frequently most of my windows are a mix of terminals and browser windows. I may be using several web apps and several command-line tools. Having to think about whether the application I want to switch to happens to be using the same "shell" application is not helpful.
I just want to be able to use one key to cycle through all windows in all spaces, and which lets me easily flip between the two most recent windows. Windows (and virtually every Linux DE) has had this for decades. It amazes me that macOS only recently got this, and only because of a third-party tool.
(You can tweak this, if you need to, in System Preferences, Keyboard section, Keyboard tab, Modifier Keys... button.)