Mac keyboard shortcuts
support.apple.com
support.apple.com
Everything just makes sense logically and mnemonically like using shift to invert actions like cmd+z and cmd+shift+z rather than having ctrl+z and ctrl+y for undo/redo.
Then add to this the ability to rebind any shortcuts in any app at an OS level. It's a little frustrating because I'm trying to move my computing away from Apple because I'm no longer convinced they care about Macs in the long term but just really wish either Microsoft would have the guts to throw a lot of their legacy out and fix all this stuff or that there were some way to actually achieve this level of coherence across the whole system on Linux.
I have seen several blind people using Androids.
It's dangerous though, one of my biggest fears is getting a job that won't let me use Linux.
I'm asking because it's been a long time since I encountered an application which didn't tile nicely / didn't work well with i3[^]. Besides, you can always make a window float in i3.
[^] With the exception of the Android emulator but that thing is a monster for a whole bunch of reasons.
I think literally the only things I have that don't tile are some of my Ludum Dare games because it's a 48 hour game jam so I don't have time to make them handle resizing or anything other than windowed 720p.
Oh, and native Terraria 1.4 (Proton Terraria 1.4 tiles just fine though).
Also you can use it to get middle click on a MacBook trackpad and to completely customize the touchbar in quite complex ways (doesn't even require disabling SIP to do that).
It would be nice if a third-party tool wasn't required, but I think it's worth the cost (and if you owned BetterSnapTool in the past, it actually costs nothing extra to upgrade the license).
I understand it needs to be doing some things in the background, but on the other hand, Hammerspoon and Karabiner don’t use much cpu usage.
I could be doing it wrong. Not knowing how to better manage apps, cpu usage, and so on
Actually, I frequently had Slack and Mailplane open in the "split pane full screen" mode on my 27" monitor at work back when going into the office was a thing, so it's not just a laptop thing, either.
The Windows "maximize" functionality is something I almost never use, on any platform.
You can even rebind these shortcuts and they’ll work in any text field. There’s even a hack to enable Vi-like shortcuts.
1. http://www.hcs.harvard.edu/~jrus/Site/Cocoa%20Text%20System....
You can also switch with Command+Tab and once you hover over the application you want, you can press Command+Down Arrow (or Up Arrow or even Key 1) and that will show you all windows within that application (the same as Control+Down Arrow). Notice that each window has a title and you can press the initial letter and that window will get focus. You can then press Enter to select it.
Oh, nice! Thanks for this.
In this specific use case, I found all the little differences between Windows and MacOS window switching to end up adding together in Window's favor fairly significantly.
First, select the application that you want to use now. All windows from that application, across all monitors are now brought to the front. Then, you switch to the window you want to use. Most of these windows have no clear way of communicating to the user that it is active, so you have to look at each of the available windows to see if it's active or not.
Let's say that I have a monitor with three terminal windows on. I don't want to close them or minimize them, as I will need them again shortly. Now, I want to open a browser window above those three terminal windows, so I open it. Now, I want to move a single one of those terminal windows on top of the browser window, while keeping the other two below the browser window. Nope, not possible. On Mac, I have to use the mouse to pick the right terminal window to achieve this.
It probably just depends on your particular workflows whether the good outweighs the bad or the other way around.
My main point is that a window is a window. The app to which that window belongs means essentially nothing to me, I don't think there needs to be a separate hot-key for cycling windows-per-application, I do not find it to be a usefull organizational tool for switching between windows. I am aware of ctrl+tab but that seems to be a generally accepted program-level control not something from the operating system level.
Minor annoyances:
MacOS's cmd+tab visualization has a slight delay before appearing. This seems to be intentional and provides a nice experience when you know for certain that the selected window of the previously selected application is what you want to switch to; quickly tapping cmd+tab switches directly to that window without the visualization. On windows, the alt+tab visualization always renders immediately. I prefer the windows way because frequently the window I want is maybe 2 or 3 back. So I can more quickly locate it visually through the visualization that pops up on alt+tab.
On MacOS, that visualization I just mentioned does not have separate selection for mouse/keyboard in the cmd+tab menu. What this means is that if an errant mouse cursor passes the visualization while you are cmd+tab'ing to some application, the mouse will scramble your selection. On Windows, there are two separate selectors, one for alt+tab (confirmed by releasing alt) and one for mouse selection (standard point + click). MacOS does support both mouse and keyboard but they share the same selection and interfere with eachother. I know this sounds like an unlikely case but I actually find it quite common -- moving the cursor towards the anticipated area of interest in the soon-to-be-focused window while alt+tabbing will frequently pass through the area of the screen where the alt+tab visualization renders.
Why doesn't MacOS have an intuitve way to maximize a window? This drives me insane. It really feels very reasonable to me to want to see the system clock/tray/etc but have a window take up all other available space. This really feels like a fundamental window-control interaction to me and it is not the same as full screen. I do not understand why MacOS does not have this and why it does not seem to bother other people.
That's a Microsoft Windows paradigm, copied by Gnome and KDE. Systems 1-8 and OS 9 had no mechanism for making a window full screen, much like LisaOS and Xerox Star 8010 IS before it and NeXTSTEP/macOS continued this. It's just never been a part of the UI as it doesn't really fit with the desktop metaphor.
They get even the simplest things wrong. Instead of labeling app menu items with a word or abbreviation, they use a freaking symbol that isn’t printed anywhere on the keyboard.
They have more 2-handed / 3+ key shortcuts than any other OS despite lacking the ability to let you control every aspect of the macOS GUI like you can with Windows or most Linux DEs.
It’s laughable to me that anyone thinks it’s a good system and I’d love to see a productivity contest between workers who are experts in their respective OSes. Mac people would lose miserably. There’s no doubt in mind after years of working with and watching Mac users pitiful attempts at doing anything quickly or efficiently.
> They have more 2-handed / 3+ key shortcuts than any other OS despite lacking the ability to let you control every aspect of the macOS GUI like you can with Windows or most Linux DEs.
What are you trying to say here with “every aspect”?
Mac window management is the opposite of tiling window management. Windows is some sort of hybrid with the snap-to functionality. I wouldn’t say that one or the other is more effective or efficient—Mac trackpad gestures for switching between virtual desktops definitely beat alt-tabbing in Windows (although Windows 10 now finally has virtual desktops as well). They’re different workflows that you can’t expect to immediately find familiar. A “productivity contest” would likely show nearly identical results on both operating systems for the kinds of tasks that users do on a daily basis because they’ve already gotten used to doing those tasks. Switching between terminal windows, text editors, and web browsers is pretty fast on both Windows and macOS.
You cannot control the entirety of macOS with just a keyboard.
Simple example: open the About this Mac window. Now switch away from it with the keyboard. I challenge you to switch back to that window with just the keyboard without installing any third-party software that changes the way that you handle window switching. Same goes for any window that you open from an app that is running in the menu bar.
With better operating systems, I can put focus on and work with any aspect of the GUI. macOS is extremely limited in this area.
They don’t even have an easily discoverable process for hunting through app menus with just the keyboard. On Windows, there is a thing called a keyboard acceleration. It happens when you hit alt plus the underlined letter of a menu item.
This is why users with disabilities, like Stephen Hawking have historically used Windows and not Mac.
This is the height of usability?
How's that work for say...a program running in the menubar, like Docker? (If you open the Docker settings window from the menubar, switch away and switch back.) I bet it doesn't.
> start the program again
Case in point. On mac, choosing (through the dock, through Cmd+Tab, through Finder, through Spotlight, through terminal) an already open program has the semantics of giving it focus. On windows, it opens multiple copies. Sometimes.
It’s an extension of the desktop metaphor. In a Mac, the distinction between an open app and a closed one is fuzzier than on Windows. In a Mac, you have A Mac and it helps you do things, and the Mac tends to the applications for you. In Windows, you have a computer with an OS that hosts applications that help you do things. The distinction is irrelevant when considered from the hardware outward, but is subtly but powerfully different when considered from the user inwards.
It doesn't start the program again. Mac OS is smart enough to know if the program is already running and just switches to it.
Three-finger-up + click is way smoother than doing a random walk through your open windows.
It also lends discoverability to multiple desktops at exactly the moment where you might be thinking to yourself "hmm, I could use multiple desktops right about now."
> With better operating systems, I can put focus on and work with any aspect of the GUI.
I'm glad you feel that way because when I use Windows I quickly get frustrated by apps stealing the focus and authorization windows opening underneath everything else.
> They don’t even have an easily discoverable process for hunting through app menus with just the keyboard.
lolwut? Cmd+? opens a box to incrementally search all menus, Ctrl+P and Ctrl+N let you navigate the results, and return runs the menu item. Arrow keys let you walk the focus if you don't know emacs shortcuts, and they do so in every menu. It's head and shoulders above Windows.
Ummm, the challenge was to use the keyboard though? No amount of rationalization will convince me that taking hands your hands off the keyboard is smoother than leaving them on.
I do enjoy watching junior devs struggling to find their lost full-screen workspace window by swiping furiously sideways with their trackpad though. For even more ridiculousness, I know I can always get a minute to read some news after I ask them to open Chrome devtools and wait while they try to get back to the original Chrome window afterwards.
> lolwut? Cmd+? opens a box to incrementally search all menus, Ctrl+P and Ctrl+N let you navigate the results, and return runs the menu item.
Pffft, okay. You don't even know the difference between searching and hunting. They're completely different operations, for different purposes. There is a way to hunt through menus with macOS, but like all Apple shortcuts it's completely obtuse.
The challenge was to get to a window, quickly. The keyboard was your constraint.
> I do enjoy watching junior devs struggling
Funny, I enjoy watching the windows crowd alt-tab-tab-tab-tab-tab-tab-tab-tab ah were was it again?
> Pffft, okay. You don't even know the difference between searching and hunting.
Now you're playing with definitions to hide the fact that you were wrong.
> like all Apple shortcuts it's completely obtuse.
Not if you learn them. You clearly did it before, so get off your butt and do it again.
Personally, I love having emacs-style Ctrl+PN and Ctrl+FB navigation available everywhere, and I love the fact that with copy/paste on Cmd+CV I don't have to worry about where a terminal app moved Ctrl+C off to.
Incorrect. My challenge, that you responded to in an article about keyboard shortcuts was about using the keyboard. You failed miserably and your comment got disappeared for it. Try harder xP
> Funny, I enjoy watching the windows crowd alt-tab-tab-tab...
Sure, you can have newbs on any platform. The difference is that Windows and Windows-inspired desktop environments like XFCE are vastly more configurable than anything on a Mac - where it's Apple's way or the highway. You're stuck with Apple's choices unless you hack your OS with third party apps to fix them.
> Now you're playing with definitions to hide the fact that you were wrong.
You're wearing your ignorance like a badge of pride. Learn about UX if you don't understand the difference between searching and hunting. There's a world of difference.
> Not if you learn them.
That's my entire point. Windows shortcuts easily discoverable since they are clearly labeled; no weird symbols that don't exist anywhere on the keyboard and there are fewer of them since the same shortcuts work everywhere. Plus you can tab to focus everywhere instead of pushing a mouse pointer thousands of miles a year to get where you want.
> Personally, I love having emacs-style Ctrl+PN and Ctrl+FB navigation available everywhere...
And yet, you think constantly swapping between keyboard and mouse is "smooth". Makes sense!
No amount of rationalization will convince me that Windows shortcuts for accessibility are more productive than using your mouse in appropriate situations (some X11 tiling WMs do a better job, yes). See, I can make statements like this too.
> I do enjoy watching junior devs struggling to find their lost full-screen workspace window by swiping furiously sideways with their trackpad though. For even more ridiculousness, I know I can always get a minute to read some news after I ask them to open Chrome devtools and wait while they try to get back to the original Chrome window afterwards.
That's nice; you enjoy watching fledglings who don't know what they're doing struggle to use their tools effectively. That says nothing about achievable productivity in an environment.
Yep. You can say whatever you want. I have never seen a mixed mouse and keyboard user do things faster or more efficiently than a pure keyboard user. Pure scientific empirical evidence is on my side and no amount of rationalization will change the fact that keyboard shortcuts are faster once you learn them. You can read about some studies surrounding this here:
https://ux.stackexchange.com/questions/30682/are-there-any-r...
> That's nice; you enjoy watching fledglings who don't know what they're doing struggle to use their tools effectively.
Sure. Who doesn't? There are whole sub-reddits dedicated to this type of comedic performance.
> That says nothing about achievable productivity in an environment.
Yes, it does. That they resort to constantly using the trackpad to swipe between speaks loudly to the lack of obvious keyboard functionality.
You‘ve clearly never watched anyone use any kind of CAD or graphics application in that case!
Yes, you can. There's an option in System Preferences called "Full Keyboard Access" to enable this.
> They don’t even have an easily discoverable process for hunting through app menus with just the keyboard.
macOS does it better: you can search all the menus with ⌘?.
> This is why users with disabilities, like Stephen Hawking have historically used Windows and not Mac.
Users with disabilities use Macs, I don't know what you're talking about. Macs are generally miles ahead in accessibility. Stephen Hawking was extremely attached to the one synthesizer he used, to the point that a team of engineers went through the effort to port that exact 30-year-old voice: https://www.sfchronicle.com/bayarea/article/The-Silicon-Vall...
Unless you’re suggesting that the OS-provided controls don’t consistently implement the OS-provided shortcuts. That does sounds like a concern, but in the case of Zoom, it still assumes Zoom used the default widgets.
The Zoom interface on Mac seems very unlike a Mac app to me. It has that flat quality you get in Electron apps. It wouldn't be surprised if it was highly bespoke. You can’t even open the preferences with CMD-, which almost every app implements.
I don’t think Zoom is the only app that doesn’t have everything in the menu bar. The point was more general for when things aren’t in the menu bar (and not just electron apps)
Keyboard Maestro or something else may be able to automate it. But still.
Just FYI, they've corrected this since then. I'm not sure but I believe it was 2017. At that time they also removed the "alt" label so it only says "option" along with the symbol.
Apple has loads of symbols for their keys. There's the modifier keys ⌘(cmd), ⌃(ctrl), ⌥(alt), ⇧(shift) and ⇪(caps-lock), of which shift and caps-lock are missing on the magic keyboard (in addition to ctrl and alt on the macbook in front of me).
Then there's ⇥(tab), ↩(return), ⌫(delete) and ⎋(escape) to name a few. These can and do all show up in menus and documentation. With all the control they have over their hardware and software you'd think they could do better than linux on their own hardware (super and backspace are wrong, but the rest are correct at least on this macbook).
I'm pretty sure this is, like, your opinion, dude.
https://bahoom.com/hyperswitch
Its developer hasn't been updating it or fixing bugs for a long time now, but it remains the best 'alt-tab' for macOS in my book.
Trying to soon foray into consulting/coaching including [productivity enhancing] apps and workflows. This is a nice boost before going to sleep.
Having both in the same area of the keyboard makes my brain happy.
I use an app called Contexts which hijacks ⌘+` with extra functionality (and includes fullscreen windows), but it seems to be abandoned so I fear it will stop working eventually.
It makes alt-tab not suck. It lets me search to switch apps. It lets me switch back to minimized apps. It is really is the perfect utility.
I think it's because ctrl+z and ctrl+y are easy to press, while cmd+y is hard to press because of the bad placement of the cmd key.
> Option-Command-Esc (from the link)
I would like to see how you press this combo with your left hand only, Alt+F4 is not ideal but much easier if I raise my left elbow away from my body.
It feels that command being close to thumb (macOS) is a much better design than using pinky with control (Windows)
I get your point but macOS still has inconveniences for many tasks:
- maximize a window: on MS Windows, it's Winkey+UpArrow. On macos, it's more complicated: https://superuser.com/questions/718600/keyboard-shortcut-to-...
- bring up file manager: on Windows to bring up File Explorer, it's Winkey+E. On macos, it took until Yosemite 10.10 to provide a non-intuitive keyboard shortcut for Finder: https://apple.stackexchange.com/questions/114933/is-there-a-...
- view active process list: on Windows, it's Ctrl+Shift-Esc to bring up Task Manager. On macOS to bring up Activity Monitor, it's more complicated: https://apple.stackexchange.com/questions/1520/is-there-a-ke...
Hardly difficult, especially for the pros who tend to be touch typists.
There's also ⌥⌘esc if you just want to quickly kill an app.
Also for Finder, you can enable the "Show Finder search window" Spotlight shortcut and set it to whattever pleases you.
That's 9 keys (including "return" key) pressed vs just 2 for Winkey+E.
>Hardly difficult,
Well, we're on HN so I don't claim things are "difficult" for any of us techies. I say it's "inconvenient" -- especially relative to other operating systems since this thread is making comparisons.
>Also for Finder, you can enable [...]
Sure, there are often workarounds for various inconveniences. The Superuser links I cited mentioned some too.
Once you have the Finder window open you have column view, and you can browse the filesystem with nothing more than arrow keys (and no modifiers). Preview any document with space. Rename documents without reaching over to the F-keys.
Is there a quicker way to do this than clicking the dock icon or using spotlight?
Or consider Alfred App which has fuzzy search:
“Command Space” then “fd”
Will find finder. That’s around 3 or 4 keys
The huge problem (in my experience) with the Windows key and associated shortcuts is accidentally hitting it when you don’t intend. Like you want to hit control but hit Windows key and your context gets totally messed up
For a more advanced trick, use the Command-Tab switcher, after taking your finger off of tab once the application you want is selected, but before you take your finger off the command key, press the option key, and then take your finger off the command key and then take your finger off the option key. This sounds more complicated than it is but once you get used to it, it’s straightforward and the following behavior will execute.
1. If there are no open windows, the most recent minimized window for that application will unminimize and take focus.
2. If there are no open windows and no minimized windows, a new window will open, as in the Finder, Terminal or Safari.
In an application like BBEdit or TextMate, it will create a new file, and in the case of TextEdit or Pages, the Document chooser or whatever Apple calls this dialog will pop-up. In an application like Notes, the main window will appear.
This all sounds complicated, but if you know your applications well, and what type of application it is, you’ll quickly suss our the pattern that it is basically a Command-N shortcut from the switcher except for some of those newfangled iCloud-aware and/or Database-centric apps.
I had a finder window open still on another workspace. Doing this still does not give you a new finder window. You then have to press cmd+n...
> Bring up Activity Monitor: ⌘␣ "am" ⏎
If I wait a second before pressing enter, spotlight decides that instead of Activity Monitor, Dropbox.app is now the top hit for this query.
I did this in Safari too hoping to fix their race condition bugs with the autocomplete. Sometimes I can even paste a full URL, see it in the entry field, hit enter, and Safari just loads the previous address again as if I had just pressed enter. Crazy that these types of bugs are sneaking in.
>maximize a window
Control-Command-F: Use the app in full screen, if supported by the app.
>file manager
Option-Command-Space brings up a Finder window from anywhere I believe, but defaults it to search mode, so you may have to chain the shortcut for a particular directory or Go to Folder after that.
I'm guessing the Activity Monitor thing is more that there is not a dedicated shortcut for launching any single app in macOS (that I can think of).
“Command - Space” then “av” gets me to Activity monitor instantaneously
- You can make all those system dialogs navigable (to use tab and spacebar to execute buttons) by enabling: System Preferences > Keyboard > Shortcuts > "Use keyboard navigation to move focus between controls".
It can take years to learn everything that macOS secretly offers, but no more than it took me to be at that level on Windows, or any Linux DE. I agree though, multiple Linux DEs seem superior to both macOS and Windows with their out-of-the-box hotkey ability. For everything else, there's Mastercard, uh, AutoKey.
Since old MacOS had cooperative multitasking if an app started some task that never offered control back to the OS it monopolized the system. Many (but not all) apps used the Command + . shortcut to cancel those sorts of tasks.
Although I see this is no longer displayed in the system preferences area you mention, but just tested and it still works on 10.15.6. Wonder if this is the first step in that keyboard shortcut's removal due to the touch bar.
not a linux user: why do you need to hold a modifier to resize a window?
I suspect there will be a comment that tells me how to do this with a keyboard?
Then the terminal short cuts are bound to CTL, and at least on my Macbook Pro, CTL is only on one side. I also don't like how Return is "change a file name" instead of "run a file." There are so many things that are inconsistent with other OS's, that I guess it just comes down to what you are used to.
I've found that MacOS is much more touch-pad / mouse heavy than other OS's. For example, CTL-K is awesome for browsing through a Linux folder system. This would put you in the path area, so you can sort of use it like a terminal.
Browsing finder in MacOS is painful, click here, click there, hope you don't get lost, etc.
This is standard for modern Macs; that said, one of the first things I do with a system is use the "Keyboard" preference pane to remap caps lock to Control ("Keyboard" -> "Modifier Keys").
Maybe I'll try it.
binaryage's TotalFinder has a hotkey feature called Visor. https://totalfinder.binaryage.com
macOS stock Finder does have basic cursor key navigation. It's not Xtree, NortonCommander awesome. (Edit: Oops. This linked cheatsheet does list the Finder navigation keys.)
I've always coveted the Canon Cat's utopian interface, but have never actually tried it. https://en.wikipedia.org/wiki/Canon_Cat
macOS’s Finder has the _Go to folder_ (⇧⌘G) command for that. It’s not exactly the same but it basically allows you to do the same thing.
Press Super, type a file or folder's name, then press Enter (or Down and Enter) to open it.
Or you can switch to the Files app (Super+1 if it's your first Favourite app; or Super, “fil”, Enter) and just type to search. Enter opens the first result, Down selects others.
I have to use macOS at work and it annoys me how much I have to use the mouse.
(Or Alfred as a power-user alternative)
What happens when this bug occurs? I've run every version of OSX/macOS, and have never had a bug with using cmd-tab to switch to Finder
I've been using Mac for 3 years now, it was the same issue in Sierra, Mojave, and now Catalina.
You have no existing Finder window, and you are surprised that one does not open on its own when you switch to the app?
Could you clarify the situation?
This is also my second MacBook, so it's not the computer...
In macOS’ Finder, it’s command-shift-G. It also supports tab-completion and the usual text-manipulation shortcuts. It works also in file dialogs.
I agree with your other points (including easier customizability), but have to completely disagree with this quoted sentence.
In my experience of using macOS/OS X/Mac OS X as well as Windows and Linux, macOS is one OS where a user cannot avoid using the mouse or trackpad!
On Windows (and mostly in Linux too), I can navigate the entire system, application menus and UI controls without touching the mouse or trackpad, relying only on the keyboard. The same on a Mac would be frustrating because keyboard navigation, especially for menus, is cumbersome. There are many Apple apps that cannot be completely controlled just using the keyboard either. There are many UI controls (including in dialogs) that just need a mouse or keyboard. When I find these instances, for me it's like death by a thousand paper cuts (note: I do have preferences set to navigate through all controls when hitting Tab).
If you disagree with my assessment, please try this using only the keyboard (no mouse or trackpad) and see how cumbersome it is (not to mention inconsistent in certain ways with the rest of the system too):
* Open System Preferences
* Open the Keyboard settings (just an example)
* Navigate from one tab to another within the settings
Of course, I'd like to know how something like this can be done faster using the keyboard.
1. Cmd-space to get Spotlight, "pref" to match System Preferences (on my machine at least), Enter
2. Search is auto highlighted so type "keyb", down arrow, Enter
3. Tab to focus on tab bar, left/right arrow key to move between tabs (this one is a bit buggy, seems the "Text" tab steals the focus so you have to shift-tab back to the tab bar)
On Windows I need to type a lot more and then navigate a list of wordy descriptions in the hope of finding Disk Management. At least now they’ve added Win-X.
In alfred app (spotlight alternative) you can have fuzzy search so its 3 strokes: `cmd - space` then `kb` to instantly find Keyboard settings
(spotlight feels a bit slower than alfred for these kinds of searches)
1. cmd+space
2. type keyboard
3. press enter
4. click tab until you're on the tab bar, then click right arrow to the tab you want
Also for anyone trying to turn on all-element keyboard navigation, you'll probably need to use ctrl-fn-f7.
Do you have keyboard navigation set to “All controls?” That’s the key and the first thing I do on any new Mac.
It's also far more discoverable --- if you press Alt, accidentally or otherwise, the menu highlights and you can immediately use the arrow keys to navigate it. The underlined letters (sadly missing by default in later Windows versions) also make things more obvious.
There's also this oddity:
https://superuser.com/questions/59007/enter-to-open-a-file-i...
In just about every other graphical file explorer I've ever used, including the DOS ones, Enter opens the selected item. In the Mac Finder, it's Command-O. Yes, I get the fact that it's mnemonic with the others in that list, but it's completely contrary to the customary and rapidly learned behaviour of navigating using the arrow keys and Enter ---which is located very close to the arrow keys, and requires only one hand to operate easily.
Command-up goes to the parent, command-down goes to the child. You can do the entire thing with arrow keys and command.
Command-? (command shift /) opens the help menu with fast incremental search through all menubar items, showing you the shortcut of what you're interested in, and also allowing you to tap return to substitute the shortcut.
It's a killer combination, allowing you to run menu items with merely a vague notion of their name rather than a memorized jumble of modifier keys.
Personally, if I were designing it, I wouldn't have exposed it as a separate bar in the Help menu of the app; but rather just made it an API provider to the OS (sort of like how drag-and-drop data sources work), such that the OS search (Spotlight) could be made a "universal" search, capable of searching both the OS generally, and the currently-focused application specifically.
While I'm dreaming, imagine if you could go into Mission Control and start typing, and it'd highlight/focus the set of windows that "have" the text you're looking for (even if not necessarily scrolled into their viewport.) Like the search you can do in Safari's "tab overview" by pressing Cmd+F there, but across all windows of all apps. Once you've narrowed it down to one window, press Enter and that window will pop to the foreground—perhaps with that text pre-selected as if you had done a Cmd+F search within the app.
Or, something even less likely to happen: imagine if you could move your mouse by searching across the corpus of text visibly on-screen (presumably via interaction with the OS text-rendering layer), such that you could jump the cursor to a specific button; or even to the checkbox with a specific label.
It's discovered when someone clicks on the "Help" menu at the top of every single screen. How much more discoverable can it be without resorting to Clippy-style intrusions?
No way to know that pressing Alt shows keyboard shortcuts on windows either.
It's also far more convenient than Ctrl-F2 to move the mouse focus to the menu bar.
Also, ever since non-spatial navigation became a thing in macOS, Cmd+[ and Cmd+] have become back/forward through navigation history in all contexts where there is such a thing as a navigation history. Works in Safari, Finder, System Preferences, all the iTunes-diaspora apps...
You can still run the Finder in mostly spatial by hiding the toolbar and sidebar. I prefer it that way. Then ⌘↑ does exactly what you think.
(Not tested on MacOS BS)
Aside from the fact that other users exposed the CMD+arrow shortcuts, Finder's shortcuts are also consistent with the rest of macOS, where "enter" typically renames the selection (try it with a folder in Notes, for example).
Every macOS app has a search field in the Help menu where you can instantly look up any menu item, and it’s a built-in feature of macOS, way ahead of Windows.
typed "undo close" on that search box. Nothing. clicked on the "tab" menu. still nothing. finally going back to the search box and typing "tab" it shows up as "reopen closed tab" and show me that it is in the "file" menu.
Weird application choices aside, Wonder why apple don't make that a central keyboard first command box like emacs or most code IDEs do. I mean, i don't even know how to go to that help search box without a mouse.
1. `cmd - shift - /` to jump to Help (works in any app)
2. type `tab` ["Hmm, I don't know exact shortcut to <undo close tab>, so let me start with something generic..."]
3. search through results with ctrl-n or ctrl-p.
4. As you search, different menu items show you the shortcut
And voila, your `cmd - shift - t` is the second result under "reopen closed tab"
EDIT: formatting bullets
Disclaimer: I worked on this feature.
I’d give you a billion upvotes if I could :)
(and I would love to see how that is done - how the menus and their contents, were implemented to make them searchable!)
Here's to 2 more billion upvotes :-)
It was one of the biggest wow factors of macOS for me when I first started using it about 10 years ago, and it still keeps saving me a lot of time.
Thanks!!!
It lets you see if an app has a feature that you’re sure it must have, but don’t know exactly what it could be called or where it might be.
For example, in Xcode I just need to search “up” to see commands for moving a block up text up.
Or “blur” to see the different kinds of blur an image editor has.
> Contrast that with a menu
You misunderstood. It shows the menus which have items matching your search, in place.
Enter should open the application.
Not f#%% edit it's name!
(how often do you want that?? == almost never; versus 'open' == almost always)
WindowsKey+B
EnterKey
ArrowUp
Now I am stuck, how do I make the drop down menu appear using the keyboard?On Windows, I am constantly moving my right hand over to the INS/DEL/HOME/END/PGUP/PGDN block, because those keys are essential for really simple tasks like moving the cursor to the beginning of the line. And worse yet, I constantly miss the mark and move the cursor to some other part of the document, and have to find my way back again. I find it extremely frustrating.
On a Mac, I can ctrl-a to move to the beginning of a line, ctrl-e to move to the end. Nearly anywhere. Losing that convenience is super frustrating.
If anyone knows how to turn that 'feature' off and get headline back, I'd love to know
Additionally, you can configure Linux to handle system wide emacs shortcuts as well.
I use dwm without a DE, so I remap mine manually using xmodmap. I use caps lock as an additional modifier key so I can put these types of shortcuts under the same modifier so it doesn't conflict with control and rebound actual caps lock (which I rarely use) to shift + caps lock.
Most IDEs that work on Mac OS can and will use the home/end/etc keys if you plug in a real keyboard, with the notable exception of ... XCode.
Are you going to make that argument? Or are you just going to say that you “could”?
The problem with dedicated keys is that I make more errors and it causes more problems with RSI. Ctrl-a and Ctrl-e are easier and more accurate for touch typists, and put less strain on my hands.
In conclusion, it's basically what you're used to :)
The one thing that baffles me is why Apple won't add the shortcuts for full keyboards into the OS by default. It's not like they're unaware of their existence.
Of course, there are Qt apps, which in their faux-crossplatformity ignore what the system does for them, including these bindings.
I was a heavy keyboard shortcut user on Windows – since Windows 3.1 days – which I believed was designed with mouse being an optional user interface device. Microsoft continued to bring ahead many of the keyboard shortcuts with Win95, XP and beyond.
When I switched to Mac, I was surprised to find how limited Mac keyboard shortcuts are, even till this day. For instance, on Windows one can resize windows with keyboard alone, but not possible, as far as I'm aware, on a Mac.
Not only is it lacking, Apple has also been dropping support for some keyboard shortcuts as well, e.g. you used to be able to put a Mac to sleep with Option+Command+Eject, with the latest TouchID MacBook Pro, Eject button is no longer there and the replacement shortcut with the power button is also not working on TouchID power button.
For sleep, I use ctrl - cmd - q (shown at this submission's link)
Resizing windows with keyboard is indeed the missing piece in macOS. Hence, Magnet* is consistently the top app in App Store (others are Spectacle* or Better Snap tool)
--- Spectacle is free and i've been using it for years, even if apparently no longer maintained: https://www.spectacleapp.com
Magnet: https://apps.apple.com/us/app/magnet/id441258766?mt=12
In other words, there are fewer things you can do with the keyboard, but it's easier to figure out which keys do them.
Dialogs can be activated by using cmd+the letter of the first action. e.g "File already exists, replace / cancel" cmd+R and cmd+C would work.
This is far superior than tabbing around IMHO, but you can do that too, it's an option in settings.
>Of course, I'd like to know how something like this can be done faster using the keyboard.
- cmd+space
- sys <return>
- keyb <down> <return>
- tab
then left and right arrows to choose which tab you want
I think this request is a poor workflow example for keyboard shortcuts. Better examples would be workflows that are a chain of repetitive actions in a sequence.
Also, personally instead of Spotlight I prefer Alfred, which can replace many shortcuts with commands, which are way more ‘mnemonic’. E.g. locking the screen is ‘scr’ in Alfred for me, which pops up ‘Screen saver’ as the suggestion.
In my heyday - I fucking impressed people who watched me navigate through either windows or linux with just the keyboard.
I fucking built a ton of AWS infra with just the keyboard - and that included using their UI as welll as AWSCLI
I am fond of those memories.
But working in the pane once you're there? You've got me, I don't know how to do that without a mouse.
after years of frustration, i finally found that "Move focus to active or next window" is the analogue functionality in macos keyboard shortcuts, and it's now mapped to the slightly-less-awkward alt-cmd-tab, from the very awkward ^F4. it's not quite the same in keeping the stack order however (in some nebulous way i haven't really determined yet).
Summon spotlight to open System Preferences
Tab to search
Search for your keyboard Settings
Hit Return
Tab to search
Search again
Hit Return
I get it's not the Windows dynamic (and having just had to spin up a few test server 2008 VMs on vmware today for a specific test, I do appreciate what Windows offers), but it's quite doable. I actually didn't even know how to do it before writing this as I've been used to Windows due to work, but using normal keyboard navigation tools (tab), it was fast to get to what I wanted.
I found this to be straightforward:
1. cmd-space to open Spotlight, type "syste" and it offers System Preferences, hit return
2. Focus is in its search field. Type "keyboard", then down arrow + return to open Keyboard Prefs.
3. Hit tab to move keyboard focus to the tab bar
4. Use arrow keys to move keyboard focus between different tabs, and space or return to select one
1. cmd-space to open spotlight, type in system pref, hit enter
2. default behavior puts you in search, type in "keyboard", down arrow, enter
3. press tab to highlight top tabs, press left/right arrow to select new tab, press space to select
(requires the setting "Use keyboard navigation to move focus between controls" which can be found in Keyboard -> Shortcuts.)
Can you turn that on without a pointing device?
You can use this global keyboard shortcut to turn on the "Use keyboard navigation to move focus between controls" setting: Control + Fn + F7
Here how to test if it's on or off:
1. Open a new TextEdit doc.
2. Type some random gibberish.
3. Attempt to save the doc.
4. Hit "Tab" and see if anything happens. If the "Use keyboard navigation to move focus between controls" setting is off, nothing will happen.
Now, with the "Save" dialog still open....
5. Do the key combo: Control + Fn + F7
6. Hit "Tab" again — this time you should notice you're moving through the different UI elements.
Tab lets you move forward/down through the UI. Tab + Shift lets you move in reverse.
If you have System Preferences > Keyboard > Shortcuts open when you do the key combo, you'll notice the checkbox for "Use keyboard navigation to move focus between controls" toggle from checked to unchecked in realtime :)
It is simple: purchase a trackball.
At least on Windows, this is for historical reasons: back in the late 80s and early 90s, when the Windows interface was originally designed, having a mouse (or any other pointing device) was optional. Windows had to be fully usable on computers which came only with a keyboard. (There were a couple of exceptions, IIRC the Paintbrush application which came with Windows required a mouse, for understandable reasons.)
I just converted my MacBook Air to Windows 10 because I want-need AutoHotKey everywhere.
That and I’m tired of the GUI looking progressively more like a box of candy.
It just isn't an acceptable solution at all and I wish Windows users would demand better. Really think better is possible and don't think it's even a hard problem.
I assume you weren’t around during the early Aqua days.
Some you need to be have octopus fingers to hit them with one hand, and others are particularly weird such as screenshot (cmd+alt+4/3 isn't it?) - windows is just "something" + printscreen.
Windows keyboard shortcuts tend to feel a bit more ergonomic to me, but then I've used Windows much more than the Mac.
The differences between the 3 types of screen shorting is that Cmd-shift 3 immediately screenshots the whole screen. Cmd-shift 4 lets you select the area that is captured, pressing the space bar after hitting the key combo turns the cursor into a camera that allows you to screenshot just a window by hovering and clicking. Cmd-shift 5 gives you even more options including screen recording.
=)
Yes, my all-time favourite is the shortcut fn-backspace for delete. How handy to not need to use a distinct delete button. Who would use that anyway?
(sarcasm included)
Also, I wish you luck on the quest for the perfect 60% keyboard. I'm on the same hunt, although I can make myself happy most anywhere if I have https://karabiner-elements.pqrs.org installed
ctrl - d for forward delete
and then your fingers are close to all these other useful ones:
ctrl - a, ctrl - b, ctrl -f, etc
But I can’t say the Mac is the best: Windows, back in the Gates days, had keyboard commands for almost everything at his insistence (some of the PMs weren’t enthusiastic but couldn’t go against him of course). I’m not a windows fan (prefer the Mac’s direct manipulation approach to the subject-verb-object model at the foundation of Windows) but I really respected and appreciated that commitment by MS.
Er, what?!?
macOS is still not able to let you navigate menus with shortcuts.
I can't even reliably open the File menu on macOS with my keyboard. It's been "Alt-f" on Windows for over two decades.
It's shocking to me that people will make authoritative sounding comments about systems that they don't use, and get their facts wrong. It's shocking to me that the supposedly bright people on Hacker News upvote it.
You only think that because you're used to macos shortcuts.
> There absolutely has been some people there who deeply care and think long and hard about how experts use their systems even if the actual main company doesn't care so much about that segment anymore.
Do any macbooks have a numpad? Lack of a numpad is the opposite of 'thinking long and hard about how experts use their systems'.
> Everything just makes sense logically and mnemonically like using shift to invert actions like cmd+z and cmd+shift+z rather than having ctrl+z and ctrl+y for undo/redo.
ctrl+z/ctrl+shift+z, tab/shift+tab, etc, is how my fairly default linux system works.
> Then add to this the ability to rebind any shortcuts in any app at an OS level.
You can do this on pretty much any operating system.
> were some way to actually achieve this level of coherence across the whole system on Linux.
What level of coherence? All you said is you prefer macos default shortcuts...? If we're talking about support for customisation then macos is laughably far behind linux in every single respect.
My own experience, being forced to work with macos for the last few years has been quite annoying. The UI is very buggy, the app bar auto-hide constantly breaks, windows randomly disappear, macos has it's own weird (coherent?) set of shortcuts different from every other operating system, there is an insane amount of popups and notifications, maximising/fullscreening a window creates a new workspace which complicates quickly switching between windows, etc. Ability to customize the system is okay... still far behind linux. I literally do not see a single benefit of macos over linux.
Mac OS has the worst shortcuts in my opinion.
Desktop short cut! How is there no Shortcut for seeing the Desktop?
Legacy of Steve Jobs doing the opposite of Windows is also a killer. Mouse Scroll wheel is opposite, close open windows icon on left and not right, not using Control but use Command key. These are not due to any reason other then to make it difficult to work between Windows and Apple. Drives me CRAZY because I have to use Apple and Windows.
F11 for expose?
The Mac has been released in 1984 with the close icon on the left side of the window's title bar, and keyboard shortcuts using the command key located directly to the left (later also to the right) of the space bar.
Windows has been released over a year later in 1985 with its own paradigm for these. So it seems like in fact, Windows has been designed to do things differently from the Mac, not the other way around.
The Windows which was released on that era also had the close function on the left side of the windows's title bar. The right side had only the minimize/maximize buttons. Moving the close function to the right side of the title bar came much later.
> and keyboard shortcuts using the command key located directly to the left (later also to the right) of the space bar.
Windows had to work with the PC keyboards of that era, which did not have that key. Much later, Microsoft gained enough influence to mandate adding a couple of extra keys to the keyboard (the "Windows" and "Menu" keys), but by then, the shortcuts had already become established (not to mention that many people still had old keyboards without these keys).
They just committed to transition the Mac platform to arguably the most performant (per watt) architecture available and just released the public beta Big Sur.
If they didn't care about the Mac long term, why on Earth would they go through the trouble of making this transition?
The Mac just set a June quarter record of $7.1 billion in revenue, up 22% from last year. These numbers give Apple a lot to care about: https://www.apple.com/investor/earnings-call/
Just to name a few:
- CMD+left/right: start/end of line
- CMD+up/down: start/end of file
- CMD+Shift+arrows: corresponding selection
- Alt+left/right: word movement
- Alt+Shift+arrows: corresponding word selection
- CMD+a: select all
- CMD+1,2,3: switch between tabs in browsers/iterm/IDEs/editors
(surprisingly and infuriatingly, this does not apply to native macOS tabs; e.g. in Finder Cmd+1/2/3 changes the view, but not tabs)
All that + the fact that clipboard, undo/redo, app and windows switching are ALL done via CMD makes it truly a modern hyper button. And you still have Control for Emacs bindings, which also work in most Cocoa text fields.
If you're interested, this [1] is one of the best attempts to bring macOS keybindings to Linux (in particular, Elementary OS). It's a set of settings for Autokey [2].
There is also Kinto [3], which solves one particular problem: copy-paste from terminal with consistent shortcuts.
1. https://github.com/roymckenzie/macos-autokey-phrases
2. https://github.com/autokey/autokey
3. https://github.com/rbreaves/kinto
UPD: edit formatting
When I left Mac 8 years or so it was quite the opposite:
- home and end depended on application, the only one that worked consistently was ctrl - e and ctrl - a but they didn't work with shift so select to end of line was hit and miss
- one of the shortcuts that sometimes worked was cmd - left, unfortunately that was mapped to go-back-one-page in Safari. Kknd of annoying when you try to select a sentence in a form and end up losing all your carefully crafted edits.
- fn button in the place where ctrl is supposed to be, but only on laptop and small keyboards, not on the full size one. Not remappable (I understand this is fixed now).
I struggled with that machine for three years. After that I realized that Macs are perfect - for Mac people, not for Linux peasants like me.
And thankfully, the Safari bug/inconsistency has been fixed. In all the major browsers on macos now, CMD+left will behave like "beginning of line" when you're in a text box.
I feel your struggle though, as someone who frequently has to / chooses to use Win/Linux, I don't think I'll ever end the fight against the shortcut patterns that have been ingrained in my hands.
Some applications take you to the top of the page with Home, some take you to the beginning of the line.
Are you sure you didn't hold ctrl down at the same time?
Edit: anyone else has experienced this on Windows without combining with ctrl?
Home/End always worked for me on Windows and didn't work for me on mac until I did a ton of tweaking.
My Dell laptop has Fn keys on the left/right arrow that do home/end in the same way it sounds like Macs do.
Of course some laptops don't have end/home/page up/page down keys and you have to avoid those.
You have answered your own question. It's home/end, Ctrl and Windows keys where in macOS it's always CMD+something.
Chrome: - Shift+Home/End selects to the start/end of the entire textarea. - Home/End first scrolls the textarea, if it is not, if it is already scrolled (this is double weird if you are somewhere down in the textarea, press home, it scrolls you to the top, press home again, it scrolls you back to where you were with the cursor on beginning of the line, then it goes to the start/end of the line as expected.
Safari: - Home/End only scroll the page, have no effect in textarea, - Shift+Home/End selects to the start/end of the textarea.
Also, I can't get insert to work in none of my IDEs (pycharm, vscode)
If anyone knows of a way to rebind Alt+left/right to mimic the behavior, please give me a shout out. I’ve tried to reproduce with remapping to Home/End but I’ve found it really inconsistent.
I would assume the keyboard UX would be a low-lying fruit. I'm hoping someone with deep knowledge about linux can help me understand what is stopping various distros from simply copying the mac keyboard layout. Replace 'cmd' with the 'super' key and setup the key combinations to match macOS. That way they're consistent whether you're in a GUI application or the command-line.
Is it that the super key is not available on every computer? Or are these shortcuts protected by some sort of a copyright? Kinto seems to work by intercepting signals and reinterpreting them, then why not have the X keyboard component recompiled with a macOS keymap? I'm not at all knowledgeable in this area, so may be missing some very obvious challenges to doing so.
That behaviour predates native tabs on the Mac, historically it even predates Safari and other browsers with tabs, I believe.
⌘1,2,3 in Safari for a long time selected favourites in the favourites bar. There is still a setting to still do that. I use it for useful bookmarklets.
setxkbmap -option ctrl:swap_lalt_lctl
I change Cycle Windows to Ctrl+Tab in the Window Manager. I disable menu Alt keys where I can.I use AutoKey for Terminal so that it works like Terminal in Mac OS X: Copy and paste and other Application shortcuts do not require using a shift key. Alt+C is the kill key (control-c) and all the rest of the Alt keys work like control keys in the terminal.
And yes, despite the non-trivial amount of tweaking and customization, I could never achieve the same level outside of Mac OS X.
- home/end: start/end of line
- Ctrl + home/end: start/end of file
- Ctrl + Shift + home/end: corresponding selection
- Ctrl + left/right arrows: word movement
- Ctrl + Shift + left/right arrows: corresponding word selection
- Ctrl + a: select all
- Alt + 1/2/3/...: switch between tabs in Chrome and VSCode where I tested it, don't know if it is working in ALL apps, for example it does not work on alacritty+tmux (where I spend most of my time) for obvious reasons.
I don't know about the consistency, but some of these make more sense semantically, like Alt+1/2/3 - "alternate to a different tab".
I set them as the Message Of The Day in my .zshrc (or .bashrc if you don't use zsh) until I memorized them. <c-f> is genric formatting for hotkeys, where c stands for control and you type "f" at same time.
IMPORTANT: For these to be level extremely effective you MUST REMAP your caps lock key to a control key. System Prefs > Keyboard > Modifier Keys button at bottom right
# MOTD
function echo_color() {
local color="$1"
printf "${color}$2\033[0m\n"
}
echo_color "\033[0;90m" "c-f Move forward"
echo_color "\033[0;90m" "c-b Move backward"
echo_color "\033[0;90m" "c-p Move up"
echo_color "\033[0;90m" "c-n Move down"
echo_color "\033[0;90m" "c-a Jump to beginning of line"
echo_color "\033[0;90m" "c-e Jump to end of line"
echo_color "\033[0;90m" "c-d Delete forward"
echo_color "\033[0;90m" "c-h Delete backward"
echo_color "\033[0;90m" "c-k Delete forward to end of line"
echo_color "\033[0;90m" "c-u Delete entire line"
Imagine you want to go up 2 lines to edit a HN comment. You could move your right hand to arrow key, or you can simply press caps with your pinky and type "p" with your other pinky. So much faster! Now you can see why these are so effective, and are really my favorite.Note that as you start to use these you will be pleased to see they apply in a lot of applications. For example, type command+L in chrome to jump to the address bar and highlight it, now type "news" in the address bar. The autocomplete dropdown will pop up. Now type control+n (readline move down) and you can scroll through the list.
I'm obsessed with optimizations and efficiency and the 2 things mentioned above are the absolute gems. Also, I highly recommend: https://medium.com/vunamhung/set-a-blazingly-fast-keyboard-r...
`0` is a little to fast for me so I prefer speed `1` and it's perfect.
The shell reminder is a neat idea too; thanks for sharing that!
Firefox and Word probably are not in that category (don't know, I use Chrome/Safari and Pages).
Readline refers to the GNU readline library [1]
Because I make lots of use of control, I usually map Right Command to Right Control, so I can easily thumb control, command or option at practically any time.
My Air has a JIS keyboard, so the control key is where your caps lock is. Most of my keyboards are configured this way (either physically or in software); on those that aren't, I use my opposing palm to press ctrl. I can't imagine using a Mac with flat keys and no right control =(
Cursor keys came with the numeric keypad; IIRC, control keys debuted with “Saratoga”, the extended keyboard in 1987 (https://en.m.wikipedia.org/wiki/Apple_Keyboard#Apple_Extende... )
My workaround is ⇧⌘→ followed by Backspace but that always feels a little awkward to me.
outside of terminal, c-a goes to beginning of line, and c-k deletes from the current cursor to the end of the line.
Perhaps you should try c-k instead of ⇧⌘→.
Not really because unlike c-u, the c-a c-k combo deletes the whole line, while I actually wanted to delete only the part of the line up to the cursor. My workaround is ⇧⌘← followed by Backspace but that always feels a little awkward to me.
The way it behaves for me matches the description here: https://man7.org/linux/man-pages/man3/readline.3.html
For in gnome-tweak-tool it is under "Keyboard & Mouse".
Note you can also set your command-line editing key to vi[m] also with "set -o vi". See https://unix.stackexchange.com/questions/30454/advantages-of...
Backspacing however can be done by word by using c-w to delete back by word. Unfortunately this hotkey only works in terminal I think, so you'd have to do option+backspace in chrome, etc.
Iterm2, built in Terminal, bash shell.
Which is why for German keyboards, Apple made ⇧⌘/ the Search shortcut.
Which also makes no sense. Because surprise, we can’t use / either without pressing Shift at the same time.
Oh, the burden of an ÄÖÜ-bearing language.
Not arguing, but I think I don't understand the point. Also on a QWERTY-keyboard, ? requires ⇧. In fact, ⌘⇧/ and ⌘⇧? not only have the same effect, but are literally just different ways of describing exactly the same keypress. If you need ⇧ to access a key, but ⇧ is already included in the combination, then what's the problem?
Example: Apple chose ⌘⇧/ to focus the help search box but didn’t consider that ⌘/ already toggles line comments in many editors and IDEs.
Some app teams at Apple even double-assign ⌘(key), creating a conflict with a system-wide (localized) shortcut.
Example: On German macOS, ⌘< means Next window but a few years ago, Xcode introduced the same ⌘< shortcut for stuff like Edit Scheme, a menu command the average developer probably uses at most a few dozen times a year. Next window though is super important.
Fortunately, it’s all customizable on the user side so I’m not too angry at Apple. I just have a little weltschmerz about my language having so many umlauts, forcing keyboard designers to demote so many characters to ⇧.
on Big Sur this also hovers an arrow next to the menu item, this is what it looks like:
(Not just menu items, but any series of actions involving mouse clicks and keystrokes.)
Disclaimer: I made this, haven't officially launched but I thought you might find it useful. If you do check it out, I'd love to hear your feedback (especially things that aren't clear, or objections to trying it based on the website) and would be happy to gift you a license if you'd like.
Am I using it "wrong"? Should I only use maxed windows or only desktop un-maxed windows and not both at the same time? I've googled this multiple times and found little help.
Not the same behavior as Alt-Tab, but together with Command+Tab it works well.
If you hold Command down after doing Command+Tab, you can also use "~" and "Tab" to select the app to the left or right in the list of recent apps.
Yes, but not properly, with memory ... C-Tab (like we expect, everywhere) will let you rapidly cycle back and forth between the two apps you are using - no matter where they are/were in the stack when you first C-Tab'd over.
However, C-` forces you to move through the entire stack for every switch. If your app-window is eight windows away, you need to go 16 spaces/slots to switch back and forth.
This has always been the case and, IMO, is actually a bug. It suggests that Apple employees don't use their systems like this because they wouldn't put up with it for one day if they did.
You have to hold down the "alt" key to when switching to minimised apps to bring them forward:
cmd+tab - [find window] - hold down alt - release all keys - will bring it forward.
Crazily annoying behaviour
I am unaware of any key combination that can restore a minimized window, or restore focus to a full screen window. Surly they exist though, so if anyone here knows what they are please do tell.
But also wow, just wow.
Oh, wait. I just tried and it turns out you can simply use the up down arrow keys once you've tabbed to the app. Neither control or option keys are required just keep holding command and then use the arrow keys. Who knew?!
Not perfect but better than nothing (which is what I had before).
Beyond cmd-tab working sensibly, you also get the advantage of not having annoying sliding animations when switching maximized windows. You can mitigate the animation somewhat for full-screen windows in accessibility options (it’s an effect of a “Reduce animations” checkbox or something like that) but it only turns it from sliding to a faster fade — there’s no way to make it instantaneous like non-full-screen window switching is.
Switching between tabs in a web browser is a very similar UX problem - and browsers got it right. Imagine that you would have to switch tabs in your browser using like you switch between windows in Mac OS. It sounds horrible. And the W95 style task bar is even better than browser tab bar because it's at the bottom of the screen so you don't have to position the cursor vertically.
Famously, MS managed to bungle that by putting a pixel of dead space at the bottom of the screen.
In the end, third party apps mostly fixed the problem for me. Hyperswitch (https://bahoom.com/hyperswitch) for switching between windows instead of apps and uBar (https://brawersoftware.com/products/ubar) for minimizing and maximizing apps by clicking their icon in the task bar.
I hope this helps.
This is something what you may or may not know as Workspace from Windows or KDE but on steroids.
How virtual screens are handled by the OS is different story. As a user of ungodly discussing i3 tailing manager I can only say, problems you described I personally consider as terrible design and putting look over functionality.
Basically this looks like OS X do care only for current screen if it's full screen or for any screen if it's not. What's inconsistent (terrible UX) and hard to use (also terrible UX).
However, it seems it may not support the latest MacOS builds. Actually I just checked their Twitter page and saw they said it supports Mojave, so maybe it does.
Maybe I misunderstand you.
And, I just confirmed my suspicion: if you want this behavior, go to System Preferences > Mission Control, and check the box for "When switching to an application, switch to a Space with open windows for an application". With that unchecked macOS behaves the way you're describing; with it checked it behaves the way I'm describing.
My Touch Bar even froze up the other day, though that was almost the first time it's happened in my 3 years of using 3 generations of Touch Bar MBPs. Long live the keyboard, and I hope Apple phases out the Touch Bar soon.
I wish it had a few features to improve the experience:
- ability to lock an app. It would be nice to have zoom controls available like unmute when I don't have zoom window active
- hard buttons, with led screens. This would make things like debugging easier where I need to hit the "step over" button repeatedly
- easier customization without paid apps or scripting. I can only change a few defaults around
I've deleted all buttons except volume control and mute on mine, and I still end up inadvertently hitting mute sometimes when typing numbers and symbols.
So they'd have to put significant effort into it (to change the architecture to make it run on the new chip together with the system). I think they would do some major changes to it in this case.
Or they can phase it out and say it paved the way for the new arm macs and that it is no longer needed (and keep the face, not admitting that it was a failure). Especially so if the 1st Apple silicon Macbook gen is already touch based.
I hope they get rid of the Touch Bar during the transition. There were no WWDC sessions about it either.
For the vast majority of users, the shortcuts we all know and love might as well not exist.
>About 90 per cent of computer users don't use CTRL-F to search for a word - as they don't know such a keyboard shortcut exists, a Google survey found. The results stunned Google's Uber Tech Lead for Search Quality and User Happiness, Dan Russell.
"I think we just all assume that we all know it, but no one actually does."
https://www.smh.com.au/technology/only-one-in-10-know-what-c...
This specific audience is exactly the wrong group to ask about the utility of the touch bar, since we are in the tiny minority who find traditional function keys to be useful.
From Feb 15, 2010:
"Suddenly, the two worlds collided. The tech savvy ran head-on into the tech illiterate and mockery and disbelief started to overtake confusion as the general tone..."
"While we mock those users, the simple fact is they haven't necessarily failed, something failed them. With all of our talk about the semantic Web and search engine optimization and tailoring search results to the individual user, there are thousands upon thousands of users performing the same simple search and following the same wrong road. If this were a standard traffic sign misdirecting this many people, it would have been pulled down long ago."
// via readwriteweb.com: https://web.archive.org/web/20100215124750/http://www.readwr...
Yes, seriously. What we consider to be basic or even somewhat below-basic computer literacy is rare even among the gainfully-employed-in-an-office crowd, outside our bubbles. Yet we think we have any clue at all about "UX". LOL.
Cars, games, and computers in general are examples of products that improve in value more rapidly as users learn how to use them as apposed to trying to cater to the least knowledgeable users. Computer games in particular often do a good job of teaching users about features incrementally.
I find Google/Gmail also have advanced shortcuts that stem from unix style, and I could not imagine not being able to use J/K to rapidly select lots of email messages for bulk actions.
I enabled this on my parents account, and years later they still are mousing through each message individually, as if I never showed them how to do it.
Even copy/paste shortcuts elude them.
Here's one use I found that I like: I sometimes work in the sunlight and want to switch to Light theme. I'm not aware of a nice convenient way to just toggle Light/Dark, so I found someone's instructions on how to bind a script that does that to a slot in the Touch Bar. Could that have been a keyboard shortcut? Sure, but I appreciate this option - kind of cool.
I’d buy Apple machines if I wrote for a living for that reason. Which is silly. You’d think every default English layout would be fairly good for writing English, but I’ve not seen one nearly as good as Apple’s. You can use AltGr or US International, but they’re both much worse for general-purpose English writing.
Why other operating systems have’s stolen their alt/option-based typing layout is a mystery, to me. Nothing else I’ve seen comes close for composing English-language text. Certainly no other default layout.
[EDIT] to wit (I don't know how HN will handle some of these, I'll remove it if it's a disaster...):
• Bullets.
— m-dashes.
90°
Divers mots français, n'est pas difficile. « Avez-vous un résumé? » (sorry, my French is garbage).
Would you like your change in $, ¢, £, or €, or ¥?
¿Donde esta el baño? (my Spanish is even worse than my French, again, sorry)
∑ π ≤ ≥ and so on.
Straßburg
And on and on. Most of these I remembered despite rarely using them because the layout is semi-intuitive, and the couple I had to hunt for made some sense once I found them and if I had to use them more than a couple times a year, I'd remember. No modifier + 1234 garbage, no common keys used as deadkeys screwing with normal typing, and none of it gets in the way of programming. Every other OS, please just copy this layout for your default English keyboard.
Just as good is the way Apple handles diacritics. You type a prefix keystroke for the diacritic, then follow it with the letter that's being modified: ö is <option-u, o>, ï is <option-u, i>, è is <option-grave, e>.
Most of the prefixes have easy-to-remember mnemonics: umlaut is <option-u>, grave is <option-grave>, tilde is <option-n> (for eñe, I suppose), but even hunting down these prefixes is fairly discoverable. After typing the prefix, a placeholder character is displayed in the text box showing the mark you've just entered, something like: ̲̈.
Then:
- <escape> or moving the cursor with an arrow key enters the diacritic as standalone character (e.g. ¨ is <option-u, escape>).
- <backspace> deletes the diacritic.
- A character that takes the diacritic enters the modified character.
- A character that does not usually take the diacritic enters the diacritic and the unmodified character (e.g. <option-n, 5> yields ˜5).
You turn it on and off with "Windows key-space".
Gnome/GNU/Linux provides a compatibility layer that isn't as good as macOS's emacs bindings.
http://www.hcs.harvard.edu/~jrus/Site/Cocoa%20Text%20System....
M-b and M-f work sometimes too, but these two get intercepted for ∫ and ƒ respectively in Slack, Firefox, etc.
Ctrl-Command-Power does an immediate reboot. Loses any unsaved documents. Doesn't shut down cleanly so potentially damages the filesystem. No "are you sure?". That's great: they thought the feature of "damage your computer" was so useful they should make a keyboard shortcut for it.
It's one key away from Alt-Command-Power which I use all the time to put the computer to sleep. So the feature is not only convenient, it's very "discoverable". I certainly discovered it yesterday.
Windows laptops solve the problem by making you hold down the power button for 5 seconds, to prevent you from doing it accidentally.
WTF Apple. That’s just insane.
Surely hyperbole for a few chuckles, right?
(Not a Mac user.) What does (short-)pressing the power button do? On Windows, the default action for that is usually sleep, and as you noted, a long-press is a hard poweroff (that's done in hardware directly, the short-press is just an ACPI signal to the software.)
It goes to sleep.
> Power button: Press to turn on your Mac or wake it from sleep. Press and hold for 1.5 seconds to put your Mac to sleep. Continue holding to force your Mac to turn off.
I’ve been double-mapping Control-C on WSL for a few months (using ConEmu as a terminal) and it works surprisingly well for me.
⌥⌘v or ^⌘f
The symbols are unintuitive and a ton of online and in-app resources use only symbols. It's weirdly inconsistent to me that some keys are labeled with symbols, others are not, and they are still commonly used in apple documentation and elsewhere.
Although I think that there's no official answer, there are other people who agree with your explanation: https://twitter.com/marcedwards/status/225601862756352001 .
(Also, I don't know if this was just an intentional joke, but you probably mean 'mnemonic', not 'pneumonic'.)
The stories we tell ourselves to remember things.
Holding a button will bring up a list of available keyboard shortcuts.
I have set up a PC and a MacBook to share a screen, keyboard and mouse (KVM switch). If I'm switched to the PC and I want to look at a window on the Mac, and the Mac's window was on the shared monitor previously, there is no way to shift the window to the built-in Retina screen without switching back to the Mac, which has its own set of problems (I can't reliably switch back to the PC, despite using a top-of-the-line Aten KVM).
I have configured Shift-Command ⌘ + ← left arrow to move the window on the Mac, but it only works for apps with a Window option on the menu.
Some of my favourite keystrokes:
Finder:
Command ⌘ + Shift + G: Explicitly paste path
Right-click, Option ⌥ to "Copy as path"
Command ⌘ + Shift + . (period): show hidden files
Command ⌘ + ↑ (up arrow): Go up one level in the directories
Terminal: Command ⌘ + K: clear screen
Everywhere: F11: Hide all windowsI started using Emacs when I was around 6 or 7 years old. CTRL-[aeknpbfl] etc. are hard-wired into my muscle memory, and they all work everywhere on every app when editing text. All the other shortcuts use the Command key. This brilliant distinction made the transition between FreeBSD’s command line (what I grew up on) and the macOS GUI an easy one.
I’ve lost count of the times I’ve had to use a Windows machine where I’ve hit `ctrl-a`, started typing, and lost my document. (Just an undo away, but still.) So frustrating.
I recently discovered the KDE desktop. I thought, “oh, this is pretty and really customizable! I could switch to this.”
And then I learned there was no easy way to use Emacs keybindings everywhere. (Gnome has an option to do this and it works pretty well.)
If anyone knows of a way to get most of the core Emacs keybindings in KDE, please let me know.
https://mediaatelier.com/CheatSheet/
I customized the theme to dark once.
In what situations do you consciously decide to open cheatsheet and learn some new shortcuts related to the app?
Not working on big sur right now though
I was using Control-A and Control-K a lot on the command line to jump to the beginning of the line, and then erase the rest of the line and tried it once somewhere else and it worked! The other way to do this same sequence (Cmd-right Cmd-Shift-Left)doesn't work in the terminal, and would require me to take my hands off the home row to use the arrow keys (until recently [1] )
Option+arrow to jump by a word is also handy, but I almost never land exactly where I want relative to punctuation the first time.
[1] I am currently using a Kinesis Freestyle Pro with arrows mapped to right-spacebar + [IJKL]. They are still working out some issues for me where it fails if I press Command before Fn (mapped to right space bar). If anyone has a split keyboard recommendation where this would currently work without the order dependency issues with the modifier keys please let me know!
This is the behavior of emacs; I'm very happy as I spend most of my time in a terminal window that I can use c- shortcuts both in emacs and in the OS natively.
Once you have that saved you can go to your Mac keyboard settings and add this new automator app as a new shortcut!
Or, use an existing app :)
Love it!
http://www.yoctopuce.com/EN/products/usb-environmental-senso...
I just tried ddcctl ( https://github.com/kfix/ddcctl ) - and it worked perfectly over HDMI through a HDMI switch. I didn't even know what to look for - so this comment was a lot of help.
The fact that menus use all these crazy arcane symbols for keys like Esc, Del, Tab, and so on, but they're not on the keyboard itself, has always baffled me.
Cmd, Opt, and Ctrl all have symbols on the keyboard. For the rest of the keys, why don't menus just literally spell out "Esc", "Tab", "Del"?
Granted windows has a few, they are mostly OS specific, like windows-e to open explorer. on OSX even something as standard as ctrl-c / ctrl-v uses the cmd key.
I have much less difficulty switching between windows and ubuntu than to mac when it comes to shortcuts.
I can understand the frustration moving between systems, but I think whichever one feels "right" is largely due to where you spend most of your time.
For a new tab in chrome Ctlr + T is easily done on Linux/Windows. On macOS for Cmd + T you need to weirdly bend your thumb under your hand while also hitting T somehow.
Or you need to move your entire hand 2 columns of keyboard layout to the right to be able to hit cmd with your pinky.
With Apple keyboards the Cmd key is easy to access, I only had that problem using Windows keyboards. The Win key is not used much so some manufacturers make it smaller.
I use Macs since 2007 and it “feels natural” to me, but this is because I’m used to Apple keyboards. For me the Ctrl key feels far away, and hitting Cmd plus key comes as the first reflex.
Eventually they relented and put the dots under F and J like the rest of the PCs.
PCs have a lot of crimes to answer for.
Let's see.
Unix - Ctrl + c
Linux - Ctrl + c
Win - Ctrl + c
Mac - Option + c
Clearly the standard and natural way is the Apple way of doing things...
Ctrl-c/v is a essentially a kludge introduced into Windows because the IBM Model M keyboard and similar didn't have a Meta key. It wasn't until Windows 3.1 that we see Ctrl-C and Ctrl-V being a 'thing'. Before then it was all about IBMs CUA. Apple had CMD-C/V/X on the Lisa 9 years before. I'm not sure what Xerox did on the Alto or if it even used keyboard shortcuts, but they did refer to the operation as Copy/Paste (coined by Larry Tesla who went on to work at Apple).
I think this another benefit of the Mac using Command-C for copy: when the UNIX-based Mac OS X was introduced you could copy from termainl windows without accidentally stopping the running program!
Which Unix would that be? The closest thing to a common Unix desktop environment, the Common Desktop Environment, didn't steal Control because they had enough sense to know that people needed it to type control characters.
> Linux - Ctrl + c
The Linux desktop crowd has always been obsessed with cloning Windows.
The Command keys on Mac keyboards are wider and closer to the center than the Alt or Windows keys on PC keyboards.
Ctrl is the uncomfortable key. Requires bringing the pinky in to play.
macOS has a handy setting though where you can reassign the modifier keys which helps to ease the pain when switching between platforms often:
System Preferences => Keyboard, on the Keyboard tab click the "Modifier Keys..." button in the bottom right corner.
https://unicheck.com/blog/who-invented-copy-and-paste
"The person most widely credited with Copy and Paste, Larry Tesler, did work for Apple starting in 1980. However, he created the command while working for Xerox Palo Alto Research Center at some point between 1973-1976 "
So, the Ctrl + c was BEFORE the Apple way.
[1] http://www.digibarn.com/friends/curbow/star/keyboard/index.h...
https://en.wikipedia.org/wiki/Gypsy_(software)
Before the Mac, all the computers I remember used function keys or their own various commands. Even after, IBM published “Common User Access” using ctrl-insert and shift-insert. Apple, as far as I know, introduced the familiar ZXCV shortcuts.
"The IBM Common User Access (CUA) standard also uses combinations of the Insert, Del, Shift and Control keys. Early versions of Windows used the IBM standard. Microsoft later also adopted the Apple key combinations with the introduction of Windows, using the control key as modifier key. For users migrating to Windows from MS-DOS this was a big change as MS-DOS users used the "copy" and "move" commands."
https://en.wikipedia.org/wiki/Cut,_copy,_and_paste#Populariz...
No Control key involved.
On the Mac, the preference for the Command key is stated explicitly in the human interface guidelines:
• Prefer the Command key as the main modifier key in a keyboard shortcut.
• Prefer the Shift key as a secondary modifier when a shortcut complements another shortcut.
• Use the Option key as a modifier sparingly.
• As much as possible, avoid using the Control key as a modifier.
https://developer.apple.com/design/human-interface-guideline...
We may like or dislike this, but Apple's preference is pretty clear.
In the standard I rely on continually, ctrl-c and ctrl-v are control characters.
https://developer.apple.com/library/archive/technotes/tn2450...
I have Caps Lock remapped to Backspace, even when I don't have a programmable keyboard plugged in. I know Caps to Esc is also very common for Vim users, but I find I make typos a lot more often than I use Vim.
Using launchd you can even do this before login so that it works in the login window.
However: I had serious issues with keyboards. Alt gr (right alt, used for typing a lot of special signs useful for programming. Brackets, @ and such) stopped working more times than I care to count. I ended up having to use karabiner to work around it. There was an issue where the paragraph key magically disappeared. That would have been fine, if it hadn't been my Emacs leader key. I have had issues with some keyboard shortcuts just magically not work due to me using Swedish as a system language, which is something I did not have to deal with in any other OS. It just made the whole experience feel rather unpolished.
Then Catalina came and I switched back to Linux. Now my 2015 iMac is just collecting dust, and since they removed support for target display mode I can't even use it as a second display, which is sad since the 4k 500candela display is the only thing I really miss.
Except Qt apps, of course.
- CTRL + CMD + ALT + SHIFT + W = Generates 300MB WiFi diagnostics file (as of Catalina)
- CTRL + CMD + ALT + SHIFT + . = Generates System debug file
It's a behavior that I can get used to, but what I find inconsistent is that the behavior is different in iTunes. It seems like in iTunes, the only way to move the selection is either arrow keys or the mouse. Option+Up/Down doesn't do what it does in Finder.
One of my favorite things about the macOS shortcut system is this idea of variations on operations using variations on shortcuts. They've kept the system remarkably consistent.
Last tip is that if you want a quick way to type keyboard shortcuts, set up keyboard text expansions for things like "commandkey", "optionkey", "shiftkey" etc that resolve to those symbols. I found it slightly fast than bringing up the emoji picker with ^ + spacebar and typing e.g. "place name" for ⌘. (What is the icon for spacebar??)
Intead of:
CMD + V: Paste stuff
It should be:
Paste stuff: CMD + V
Description of what it means to "paste stuff"
Instead of selecting the whole filename as in documents it switches tab
After nearly a decade of using MacOS full time, it still catches me out every time
There's also "Command+Delete" that deletes the text between the insertion point and the start of the line or paragraph.
If I type a term into the URL bar, the bottom list of suggestions is for 'Bookmarks and History'. If arrow down to select one of these, it places it in the URL bar, but the only text I can edit here is the title of the page, I can't actually edit the URL. Is there a way to make the URL here editable without actually visiting the page first? I could just press enter then Command-L to edit it, but I'm looking for a way to append the URL first.
Option-Command-V: Move: Move the files in the Clipboard from their original location to the current location.I use this a lot, but is missing from this page. I'm pretty sure I didn't have to customise it in the settings myself. Not sure how I stumbled on this, but it works for me in all applications, native or electron (VS code is the only one I have installed).
App-level shortcuts almost always use the Command key, global shortcuts generally use Control, and Option/Shift are modifiers.
On Windows sometimes it’s Control, sometimes Alt, and sometimes the same task has different shortcuts in different apps.
I've used both.
> It suffers the exact same issue as Windows and Linux.
The issue is worse on Windows.
> The issue can't be solved since app developers choose which the shortcuts and not os developers.
Wrong. macOS/AppKit/Cocoa define a lot of standard menu items and shortcuts and provide them to all native apps "for free".
If you look at the shortcuts list for a random Windows app, some shortcuts will use Alt, some will use Control. On macOS, almost all shortcuts use Command, and Option/Control are only modifiers.
Finally, on macOS, you can define custom shortcuts and edit existing shortcuts for any app, from the global Keyboard Preferences.
And you can add your own menu items as well via Automator etc.
I am utterly unimpressed and I want to sell my laptop just to buy a new one with US layout.
So far I've been unable to find a key shortcut to minimize ALL open windows (like windows key + M in Windows). It is very annoying.
Also, coming from Windows, cut copy paste operation is also annoying on Macbook.
I use Divvy to tile windows, but I really liked being able to flick a window very quickly over to another screen.
Would love to hear what you think
I often need to move my cursor from my third monitor on the left all the way to my monitor on the right.
Anyone has a way of doing this?
i have my left click touchpad broken and i have problem with long-press mouse actions like moving files etc...
Not a system-wide one, of course, but very useful.
But I keep coming back to MacOS. It's funny but the No.1 reason for me is the readline shortcuts.
The No.2 reason is rendering.
Can we please remove this one ...
I always thought Mac designers were retarded for not making this critical feature obvious.
Another peeve is the lack of dedicated keyboard keys. Like the printscreen key. On Mac you have to press something like Command-shift-4.
Often times I notice, the Mac designers try to simplify things for the sake of design, but they end up making the damn thing harder to use.
Are there other inaccuracies?