brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Command-double-click opens a Mac folder in a new tab, not in place

macOS
~/tips/tip-macos-command-double-click-folder-tab

Command + double-click open the folder in a separate tab or window

Keep your current Finder view and open a folder in a separate tab or window.

Double-click a folder in Finder and the window jumps into it, so the folder you were in is gone from view. Two modifiers change that.

Apple’s shortcut list has both:

Command + double-click   open the folder in a separate tab or window
Option + double-click    open it in a separate window and close the original

Command-double-click is the one I’d use most. Your current folder stays where it is and the other one opens next to it, in a tab or a new window depending on your settings. That’s perfect for moving files from one folder to another: open the target with Command-double-click, and drag between the two tabs.

Option-double-click is the opposite mood: you’re done with this window and want the next folder to take its place cleanly, without collecting windows.

Whether Command gives you a tab or a window depends on a Finder setting. In Finder > Settings, on the General tab, Apple lists “Open folders in tabs instead of new windows”, and it’s described exactly as what happens when you hold Command and double-click a folder.

Watch out with the timing on a trackpad. Hold the modifier before the first click and keep holding it; let go too early and you get a plain double-click. Also, both tricks are about folders. Command-double-click on a document simply opens it in its app.

Further reading: Mac keyboard shortcuts (Apple Support), Change Finder settings on Mac (Apple)

More macOS tips System Settings > Accessibility > Hover Text > When using the pointer A Smart Folder in Notes collects notes by tag, checklist or date Type # in a Mac note to tag it, then filter by tag in the sidebar tmutil isexcluded ~/Projects/app/node_modules Crop an image in Preview by dragging a frame and clicking Crop All macOS tips (99) All topics

Link