Editor and browser side by side on a Mac, without the shuffle
Change code, look at the result. Ways to keep an editor and a browser next to each other on one Mac screen, and how to fit the dev tools in too.
Web work means looking at two things at once: the code and the page. Then the browser's dev tools want a third slice.
With macOS alone
Tile the editor left and the browser right with fn ⌃ and the arrows (macOS 15 and later). Dock the dev tools to the bottom of the browser so they do not need their own column. It works until a third window arrives and lands on top.
Widths that suit the work
- Editor at two thirds, browser at a third: when you are mostly writing code.
- Half and half: when you are adjusting layout and watching it change.
- Browser at two thirds with dev tools open: when you are debugging the page.
Switch widths in one key
In ClutterFreeMac, ⌃ ⌥ R cycles the focused window through a third, a half and two thirds. Its neighbour keeps its own width; the row just shifts. Open the dev tools in their own window and they slot in beside the browser instead of covering it.
Questions
What is the best split for coding and previewing?
Two thirds editor and one third browser for writing, half and half for visual tweaks.
Read next
- Guide
An Obsidian window layout on a Mac: panes, pop outs and the rest
Split panes, open notes in new windows, and place Obsidian beside your browser or PDFs. How to arrange it for writing and research on a Mac.
Read › - Guide
How to put three windows side by side on a Mac
macOS tiles halves and quarters, not thirds. How to get three columns on one screen, which screens suit it, and how to keep a fourth window handy.
Read › - Guide
How to put two Word documents side by side on a Mac
Two Word documents next to each other for comparing or copying between them, plus Word's own compare tool when you need the differences marked.
Read ›