The problem
Context is expensive to rebuild
A bug you’re holding in your head can vanish in a single glance at a notification. Getting back to where you were often takes far longer than the interruption itself.
Editor zen modes help inside the editor. But coding happens across several apps: the editor, a terminal, documentation, an AI assistant, a ticket. Around them sit chat, email and whatever you’re playing for background music.
A focus setup that spans apps, rather than one window, matches the way you actually work.
The fix
Set up a coding focus view
Arrange your windows.
Editor, terminal and any docs you need, the way you like them.
Press ⌃⇧H and choose Focus.
Focus keeps what you draw clear.
Draw a box over each working window.
Use Select a Window for a whole window in one click, or draw over part of one, such as just the terminal pane.
Press Return, then save it.
Press ⌘S and name it “Coding”. Your coding desktop now keeps its own setup when you swipe between desktops.

App by app
Setups developers use
VS Code and Cursor
Keep the editor and integrated terminal clear; cover the activity bar, minimap or AI chat panel when you want to think on your own.
Xcode
Keep the editor and the simulator clear while the rest of the screen is blacked out.
Terminal, iTerm2 and Warp
Keep one pane clear during a long build and cover the rest of the screen, including the Slack window that would otherwise win.
Documentation in the browser
Cover the docs site’s sidebar ads and the browser’s other tabs and keep the article clear.
Coding with music
Black out the music video’s recommendations and comments, so changing a track takes ten seconds instead of thirty minutes.
AI coding agents
While an agent runs, cover its scrolling output and keep your own task clear. Peek when you want a status check.
Why it helps
What you get
Across every app
One setup covers the editor, terminal, docs and music, not just one window.
Per desktop
Your coding desktop keeps its focus view while your other desktops stay normal.
No permissions
Nothing to approve in Privacy & Security, which keeps managed work Macs simple.
Good to know
Good to know
- Focus areas don’t follow whichever window you click into. Draw them over the windows you’ll use.
- Notification banners appear above the shades. Turn on a Focus mode in macOS to silence them.
FAQ
Questions and answers
Is there a zen mode that works across apps on Mac?
macOS doesn’t have one. HideTheRest’s Focus mode is the closest: you choose which windows or areas stay clear, and everything else on the screen is blacked out, across any apps.
Can I keep the terminal visible while I black out everything else?
Yes. Draw a second focus box over the terminal, or over just the pane you’re watching.
Does it slow down my Mac or my builds?
It only draws shapes on screen and checks window positions, so it has no effect on builds or editor performance in normal use.
Does it work with multiple monitors?
Yes. Each display can have its own focus area, or be blacked out completely.



