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: Fn-Control and an arrow key tile a Mac window to half the screen

macOS
~/tips/tip-macos-window-tiling-fn-control

Fn-Control-Left Arrow left half

Snaps the active Mac window to half the screen or fills it, straight from the keyboard.

For years I’d have told you to install a third-party app to snap windows into place on a Mac. Since macOS Sequoia that’s built in, and the keyboard shortcuts are the part I find most useful, because dragging windows to the edge with a trackpad is fiddly.

The shortcuts all start with Fn (the Globe key) and Control. Add an arrow key and the active window jumps to that half of the screen:

Fn-Control-Left Arrow    left half
Fn-Control-Right Arrow   right half
Fn-Control-F             fill the screen
Fn-Control-C             centre the window
Fn-Control-R             back to the previous size

The one I like most adds Shift. Fn-Control-Shift-Left Arrow puts the active window on the left and the window behind it on the right, so a browser and an editor sit side by side in one move. Up and Down Arrow do the same with top and bottom halves. Add Option as well (Fn-Control-Option-Shift-Left Arrow) and you get one window on the left with two more stacked in the right-hand corners.

An example: you have a terminal and the docs open. Click the terminal, press Fn-Control-Shift-Left Arrow, and the docs fill the right half. Fn-Control-R puts the terminal back where it was when you’re done.

A caveat on looks: by default tiled windows get a small gap around them. If you’d rather they touch the edges, turn off Tiled windows have margins under System Settings > Desktop & Dock, in the Windows section. Same place has the switches for dragging windows to the screen edges, in case those keep tiling things you only meant to move. And the quarter-screen corners have no shortcut of their own; for those you use the Window menu or the green button.

Further reading: Mac window tiling icons and keyboard shortcuts (Mac User Guide), Change window tiling settings on Mac (Mac User Guide)

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