Live data from Hacker News

Keyboard tricks from a macOS app dev

notes.alinpanaitiu.com

41–50 of 153 posts

Re: Keyboard tricks from a macOS app dev

#41
post #28

BTT is great man, it just allows you to configure any shortcut for any app. But the one key I use the most is assigning “`” key as the back button. You keep your hand on that key while surfing web or any app that has a back navigation, it’s just so much better than clicking or remembering each apps back shortcut. If you really need to type ` then you assign fn-` it’s really rarely used

My man must not write JS

Yep i knew there was a language that goes there too often

Re: Keyboard tricks from a macOS app dev

#42

I recently purchased a MacBook, and while I'm thoroughly impressed with the hardware, I find the keyboard navigation in the desktop environment somewhat lacking in comparison to my previous experience. Having used Linux Pop OS for many years, I've grown accustomed to the intuitive and powerful tiling window manager and keyboard navigation shortcuts it offers. I'm struggling to find a comparable solution on the macOS…

As a more general suggestion, macOS likely isn’t good at imitating what you previously had, try to understand the workflow they’re proposing, adapt and learn it, it generally gets second nature and pretty decent soon enough, getting to work the way you envision is not apple’s strong suit.

Re: Keyboard tricks from a macOS app dev

#43
Big fan and long-time user of rcmd, Hyperkey, Rectangle, BTT - all lovingly-crafted by independent developers. All solo, I believe.

I know Raycast is getting a lot of attention right now but isn’t this a VC-backed SaaS? How do people feel about inviting them on to their desktop - aren’t you worried about the inevitable other shoe dropping?

Re: Keyboard tricks from a macOS app dev

#44
post #25

Earlier quoted context omitted.

Just because this often comes up; I don't want to disable SIP. However I'm very happy with yabai.

I didn't realize it was possible to use it without disabling SIP, excited to give it another shot! AltTab with a few modifications is currently my preferred way to manage windows.

To be honest I always wrote off Yabai until someone here commented that it works fine without disabling SIP. Only a small subset of features need that.

Re: Keyboard tricks from a macOS app dev

#45
This might be the place to ask, since half an hour of searching the other day came up empty for Apple Silicon Macs: does anyone know how to diagnose hotkey conflicts? I use hyper (caps) + q, e to navigate between spaces but hyper + q recently stopped working, so … I can only go right.

Re: Keyboard tricks from a macOS app dev

#46

I recently purchased a MacBook, and while I'm thoroughly impressed with the hardware, I find the keyboard navigation in the desktop environment somewhat lacking in comparison to my previous experience. Having used Linux Pop OS for many years, I've grown accustomed to the intuitive and powerful tiling window manager and keyboard navigation shortcuts it offers. I'm struggling to find a comparable solution on the macOS…

I suspect the constant emphasis on mouse use, ever since the first Macintosh, has created an attitude of "keyboard doesn't matter"; I've noticed that even early Windows is very usable with only a keyboard (the Alt, underlined letters, and arrow keys method is particularly well-designed), whereas e.g. classic MacOS is basically unusable without a mouse. In later versions they added keyboard access, but it still feels…

My observation too.

It is kind of evolution, just for computers.

Macs early developed good pointing devices and as a result many keyboard related aspects can afford to be somewhere between weird and crazy.

Bonus for Mac people insisting everything is fine.

And I still consider getting a MacBook Pro next month, Windows PCs are that bad even with WSL :-/

Edit: at least these days, fn and ctrl can finally be remapped and CMD-tab can be fixed so it works consistently between two Firefox (or two Safari) windows, an IDE and Finder. It used to be that I would have to CMD-tab to the Firefox group, then CMD-| to get to the correct browser window and it was one of the things that truly messed up my workdays the last time I used Mac back in 2012. (No dedicated home/end buttons and every app seemingly being free to choose what shortcut they would use for it was probably the most painful one though.)

Re: Keyboard tricks from a macOS app dev

#47
post #28

BTT is great man, it just allows you to configure any shortcut for any app. But the one key I use the most is assigning “`” key as the back button. You keep your hand on that key while surfing web or any app that has a back navigation, it’s just so much better than clicking or remembering each apps back shortcut. If you really need to type ` then you assign fn-` it’s really rarely used

My man must not write JS

Or shell, or ruby, or markdown, or even just use Slack.

Sure there are generally (sometimes better) alternatives in those but backticks are pretty common for me.

Re: Keyboard tricks from a macOS app dev

#48

I recently purchased a MacBook, and while I'm thoroughly impressed with the hardware, I find the keyboard navigation in the desktop environment somewhat lacking in comparison to my previous experience. Having used Linux Pop OS for many years, I've grown accustomed to the intuitive and powerful tiling window manager and keyboard navigation shortcuts it offers. I'm struggling to find a comparable solution on the macOS…

I suspect the constant emphasis on mouse use, ever since the first Macintosh, has created an attitude of "keyboard doesn't matter"; I've noticed that even early Windows is very usable with only a keyboard (the Alt, underlined letters, and arrow keys method is particularly well-designed), whereas e.g. classic MacOS is basically unusable without a mouse. In later versions they added keyboard access, but it still feels…

I had the opposite experience with MacOS. I hold every OS I've used since the early aughts up against MacOS 9 and they are all lacking in terms of keyboard navigation. Maybe it was because I had the previous 10 years to practice, but I felt I could do almost anything in pre-OSX MacOS with the keyboard, only relying on the mouse for application-specific stuff like photo editing. Navigating, filtering, opening files and folders were all incredibly easy.

In KDE it's pretty much a joke every time I have to save-as. Can't even get through that filesystem menu without a mouse unless it supports -l. Dolphin is slightly better, especially if you enable the console pane to make it easier to switch to the command line, but it's still way behind Apple's finder from 1999.

Re: Keyboard tricks from a macOS app dev

#49
One of the best things I’ve configured with BTT is to remove the global Quit application (cmd+Q) and global Hide application (cmd+H) keybindings. I use cmd+W all the time to shut tabs and a slight miss click would close the entire app.

Re: Keyboard tricks from a macOS app dev

#50
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

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/

Post reply on HN