Live data from Hacker News

Ask HN: What feature did you find after years of using macOS?

news.ycombinator.com

181–190 of 540 posts

Re: Ask HN: What feature did you find after years of using macOS?

#184

You can tell Finder to show actual folder sizes instead of just "--". Right click in a folder -> Show View Options -> Calculate all sizes. I'm not sure why it's not the default, it's not like Finder needs to traverse the folders hierarchy to calculate the size (I hope!).

It does have to traverse the complete filesystem to calculate the sizes. That is how most filesystems work (files have sizes, folders do not - so a folder size doesn't exist and is just a sum of whatever it contains)

Re: Ask HN: What feature did you find after years of using macOS?

#187
This has been around for a long time but most people don’t know about it:

Dragging and dropping files from the finder into an file selector window (ie. Open File in most programs) will navigate to that file and select it. As others mentioned this works in terminal as well to give you a path, but actually this generally works in any text box (unless it specifically handles paths being drag ‘n dropped). This also works with multiple files / multi file selection, and in the case of inserting the path as text, they are space delimited and auto quoted (convenient for shell use).

Edit: This icon can include the one at the top of a finder window (the window title). That’s actually interactable and can be dragged and dropped for the directory itself.

Re: Ask HN: What feature did you find after years of using macOS?

#188
post #167

When typing or editing text, Option-arrow to move the cursor one word to the left or right Command-arrow to move to the beginning or end of the line Combine either of these with the shift key to quickly select text.

Wow, I use these all the time in VSCode but didn’t realize it wasn’t specific to that application. This works especially well when combined with multi-cursor selection: place whatever 10 cursors for 10 sets of like information, Option-Shift-Arrow to select multiple like-code blocks by word.

This experience alone was enough to convince me it was time to learn vim.

Re: Ask HN: What feature did you find after years of using macOS?

#189

I have long used Shift-Command-4 to take screenshots, but I only recently discovered Shift-Command-5, which provides finer control (and it's much easier to use when I'm working at my treadmill desk). Also, Command-K to clear out a terminal window (also often works in similar places, such as the MAMP error log viewer).

My favourite hidden function: Pressing space after Shift-Cmd-4 toggles window mode. In window mode, only the window you select will be captured.
Post reply on HN