30 Dec 2025
F16 F17 F18
A significant user interface improvement I made to my desktop experience on macOS this past year has been to globally bind the function keys above the number pad on a full-sized keyboard to window management commands, in particular to move a window either to the center, left, or right of a large monitor. On reflection, this seemingly modest change has surprisingly transformed how I manage windows now. If this seems interesting, please read on.
My usual work environment is setup like this:
- Laptop in clamshell mode, connected to a single monitor, keyboard, and mouse.
- I have the setting “Use F1, F2, etc. keys as standard function keys” turned on.
- For my keyboard, I use a stock Apple USB full sized keyboard (A1243) that has the row of function keys F16-F19 on the top row of the number pad as shown in the image below.
The following table specifies the bindings I use for these number pad function keys.
| Key | Command |
|---|---|
| F16 | Move to top left, without resizing |
| F17 | Center |
| F18 | Move to top right, without resizing |
These bindings can be implemented using a 3rd party app like BetterSnapTool or by configuring a keyboard shortcut via the macOS Settings app. As a happy BetterSnapTool user, I’ve configured it as shown below:
Users wanting to use what is built into macOS (Sequoia 15 or greater) can go to System Settings… › Keyboard › Keyboard Shortcuts… › Windows to customize the bindings to their preference.
Closing Thoughts
If you’ve followed my work on Casual you'll know that I’m not a fan of long key bindings that take up three or more keys to be pressed. Dedicating function keys to do basic window management has been far simpler to adopt in my interactions with a computer. It seems obvious with 20/20 hindsight, but simply centering a window with a single key press has done wonders for my ergonomics.
I acknowledge that this post is bespoke to me. If you don’t have a lot of function keys to spare, you'll likely find little of value here. But if you do have three spare function keys, I highly recommend binding them to window management commands. Give it a try - I think you’ll be pleasantly surprised.
Past Articles
| 17 DEC 2025 |
Export Org to Markdown with the ClipboardA companion post to my last one on importing Markdown to Org, but the other way around. read more |
| 4 DEC 2025 |
Import Markdown to Org with the Clipboard in EmacsImport Markdown from other apps into your Org files easy. read more |
| 24 NOV 2025 |
Announcing Casual CSVIf you need to work with CSV files in Emacs, Casual with |
| 13 NOV 2025 |
Thoughts on Funding Free Software Development“I don’t like to dream about getting paid.” read more |
| 3 NOV 2025 |
Prototyping a Toolbar UI for EdebugWhere a prototype toolbar UI for Edebug is made available for public scrutiny. read more |
| 30 OCT 2025 |
Announcing Casual EdiffWhere an earnest attempt is made to improve the usability of Ediff for sensibilities in 2025. read more |
| 25 SEP 2025 |
Storing a Link from your Web Browser to BibTeX using Org protocolAutomate writing a BibTeX Online entry to Emacs from your web browser using Org protocol. read more |
| 24 SEP 2025 |
Announcing Casual BibTeXAnnouncing Casual support for BibTeX, a bibilography database. read more |
| 8 SEP 2025 |
Announcing Numeri - an Emacs package for Roman number translationNever not know what Super Bowl it is. read more |
Page 1 / 17 >