7 ms·
I was hoping this was about lesser known macOS keyboard shortcuts. Alas. Apple has a pretty exhaustive list of so-called document shortcuts that I find particu
by aaronbrethorst 4y ago
I was hoping this was about lesser known macOS keyboard shortcuts. Alas.
Apple has a pretty exhaustive list of so-called document shortcuts that I find particularly useful: https://support.apple.com/en-us/HT201236#text https://support.apple.com/en-us/HT201236#text
Ctrl+A and Ctrl+E in particular to jump to the beginning and end of a line are a pair that I use dozens of times per day.
Same with Opt+Delete to delete the previous word.
I use Opt+Left Arrow and Opt+Right Arrow to move the cursor back and forward by whole words so often that I didn't even think about including it in here until I unconsciously used it while editing text.
Also:
Cmd+Space brings up Spotlight and is a great way to launch apps and open documents.
I've used SizeUp for well over a decade to rearrange my Mac's open windows. It's literally the first app I install when I get a new computer. https://www.irradiatedsoftware.com/sizeup/ https://www.irradiatedsoftware.com/sizeup/
- dan-robertson 4y agoLots of those shortcuts are basically Emacs shortcuts. I’m always sad using gdocs on Linux that they don’t support the Emacs shortcuts.
- colechristensen 4y agoNot just Emacs, but anything that uses readline or similar libraries. Most shells for example. https://en.wikipedia.org/wiki/GNU_Readline https://en.wikipedia.org/wiki/GNU_Readline https://github.com/chzyer/readline/blob/master/doc/shortcut.md https://github.com/chzyer/readline/blob/master/doc/shortcut....
- dan-robertson 4y agoI mean, readline shortcuts are also based on Emacs ones.
- ornornor 4y agoAlways assumed it was the other way around without any particular evidence.
- aaronbrethorst 4y agoYep. Yank and Kill work too, among others
- interpol_p 4y agoSide note that these Emacs shortcuts also work on iOS pretty much everywhere (you even get it for free in completely custom text renderers, so long as you adopt the UITextInput protocol)
- ngai_aku 4y agoHow are you using the modifier keys in iOS?
- crazygringo 4y agoJust connect a Bluetooth keyboard. Sometimes I use an iPad plus Bluetooth keyboard for writing. What's annoying is that keyboard shortcuts mostly work in apps, but are sometimes buggy, because I think they're so rarely tested.
- eviks 4y agoIt's much better to rebind all of those to more ergonomic alternatives that match your other apps using the tools listed (eg, to similar cursor keys you use in a text editor), which is also useful for non Macs you use (where you could do the same rebunds), rather then learning yet another set of bad old combos
- drbaba 4y agoThe defaults can be changed (DefaultKeyBindings.dict). However, those keybindings are not just “yet another set of bad old combos”; the same keybindings are used by default in Emacs on any platform, and by most POSIX shells and interpreters (Bash, Zsh, Fish, IPython, etc.). On Mac, they’re inherited by most other GUI text editors (e.g. Sublime).
- jurip 4y agoYeah. Those are the key combos for editing text, especially on a Mac. If an app does not support them, it's going to be some weird cross platform monstrosity and you're better off if you find a competitor.
- eviks 4y agoThese are exactly another set of bad old combos, and the fact that their use is widespread is just another example of how bad very common things are: - it doesn't make sense to have a/e as beginning/end, there is a symmetry in the commands, but there is no symmetry in the a/e keybindings, they are on different rows - likewise, it doesn't make sense to use the less convenient ⌃ for such a frequent command (and this is also the rightful criticism of all the bad Emacs pinky defaults) For example, you could use right ⌘ (a thumb key) as your text movement key (or even Space), then you have home keys - JKL; for cursor movements and - DF for your word movements (instead of having to move your whole hand to ⌥◀/▶) - A/⇧A for line start/end movements or maybe A/G if it's frequent enough to not warrant using ⇧ And then that would match your text editor keybinds, so you don't have to waste time remembering platform-specific keys. And re. those other apps - it's better to rebind them all (or, rather, use a tool to have the keybinds work in all of them) as well to use something good rather that stick with the bad just because someone lacked good design chops in the past
- koinedad 4y agoI love these built in shortcuts. I’ve added Karabiner to remap caps lock to esc and ctrl (not for Vim) and also right cmd-hjkl for instant arrow key access. Spotlight usually works for most of my needs as well. It’s frustrating when an app overwrites built in shortcuts like in Intellij on Mac, searching for shortcuts in the menu bar search doesn’t allow opt-delete if I remember correctly. Speaking of menu bar search… one of my favorite commands is opt-shift-/ to search available commands in the menu bar of an app.
- dzhiurgis 4y agoIntelliJ text expansion hotkeys (option + up/down) or spell checker (option enter) should be part of every operating system.
- kmarc 4y agoI find it fascinating that your examples are actually the readline/emacs shortcuts, or the workarounds that had to be implemented for the lack of PC keys (Home/End/PgUp/PgDown) The more I got familiar with MacOS, the more I realized all those feature pictures ople praise MacOS for are just workarounds / copies from other systems, and (even power-) users just aren't familiar with other systems hence their amaze. The inconsistencies that come with intermixing ctrl-option-command are just mind blowing. Even Windows got this right by making the Windows key control window manager specific actions.
- kitsunesoba 4y agoIt all depends on where one got their start in computing. I started on a Mac in 1996, and though the keyboard that it came with had home/end/etc I never learned to use them because I didn’t do much that was keyboard intensive, with most of my computer usage being drawing/graphics, games, or web browsing. By the time I’d started working as a dev fulltime where those keys might’ve been useful, laptops had taken over and my work machine was a MacBook Air which wasn’t large enough to fit those keys even if they’d wanted to, and so I learned the built in macOS text nav shortcuts. They were never a workaround for me because I’d never used the home/end/etc cluster in the first place. Even today when using Windows or Linux it’s with a 60/65% keyboard without those keys because that’s what’s comfortable. Reaching over to hit home/end on a larger keyboard would feel odd with how far removed it is from the rest of the board.
- aequitas 4y ago> or the workarounds that had to be implemented for the lack of PC keys (Home/End/PgUp/PgDown) Those keys are not lacking, but on laptop keyboards they are hidden behind the fn+arrow keys. But they also are not workarounds or replacements for those keys. On macOS Home and End scroll the document to the beginning or end, not the cursor to the beginning or end of the line. That can be done with cmd-arrow.
- snowe2010 4y agoI always hated the home/end keys. The way Mac does it is way better and I didn’t really start using Macs until two decades after I used windows and Linux. Cmd+left/right is way easier to use, especially on a laptop and custom keyboard.
- rstevens333 4y agosizeup is excellent. add swish and it's even better.