And, for the life of me, I never get copy paste from a terminal to work like I want it to.
And, for the life of me, I never get copy paste from a terminal to work like I want it to.
alt-tab is universal. Hell, alt-tab works on Android if you hook up a keyboard to it. Mac is the only thing where alt-tab falls on its face. Even if you remind yourself that you're on Mac and use cmd-tab, it cycles between apps, not windows. You need to use cmd-` for that. I often find myself in a cycle of using 3 windows across 2 apps and it drives me bonkers.
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?
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.
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
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 "[]"
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.
(You can tweak this, if you need to, in System Preferences, Keyboard section, Keyboard tab, Modifier Keys... button.)
I'm an Emacs man. Many Emacs shortcut keys suck, but it's what I'm used to, so it's what I want.
Unrelated, I also use Hyperdock, from the same developer, to get the dock into the 21st century.
I also list alternatives on that page. That may inspire you
You can just use middle click everywhere, no? One checkbox in the clipboard manager and done.
Btw ctrl+shift+v to paste is often much more useful than ctrl+v, e.g. for emails, and is the exact same in the terminal.
Why can’t one switch between windows of the same application on MacOS with a modifier+tab combination?
"Just swish your virtual desktops around" seems extremely convoluted when I just want to switch between different windows.
I was stuck using the shortcuts (ctrl + left or right arrow key), or clicking the Mission Control button I had to pin to the Dock.
Doesn't command+c/command+v work?
I use emacs as well, but apple touchpads are good enough that frankly it's probably faster for me to just highlight text in iterm2 with the mouse (which is what I do). In emacs I use the standard C-spc shortcuts, though.
None of my work is particularly terminal-heavy, thankfully.