# Split Panes in Remocode: Horizontal and Vertical Terminal Splits
Split panes are the foundation of an efficient terminal workflow. Remocode makes creating and managing split panes effortless with two simple keyboard shortcuts that every developer should know.
The Two Essential Split Commands
Vertical Split (Cmd+D)
Press Cmd+D to split the current pane to the right. This creates a new terminal session side by side with your current one. Vertical splits are ideal for:
- ●Viewing code in one pane while running commands in another
- ●Comparing output from two different processes
- ●Keeping a reference terminal open while you work
Horizontal Split (Cmd+Shift+D)
Press Cmd+Shift+D to split the current pane downward. This stacks terminals on top of each other. Horizontal splits work best for:
- ●Monitoring log output below your working terminal
- ●Running tests beneath your editor
- ●Watching a build process while continuing to code
Building Complex Layouts
You can combine vertical and horizontal splits to create any layout you need. Here are some practical configurations:
The Side-by-Side Layout
Start with a single pane and press Cmd+D once. You now have two equal columns. Use the left pane for your development server and the right pane for running commands. This is the simplest and most common layout for everyday work.
The IDE Layout
Split right with Cmd+D, then split the right pane down with Cmd+Shift+D. This gives you one large pane on the left and two smaller panes stacked on the right. Use the large pane for your main work, the top-right for a dev server, and the bottom-right for git operations.
The Monitor Layout
Split down with Cmd+Shift+D, then split the bottom pane right with Cmd+D. This gives you one wide pane on top and two panes on the bottom. Perfect for keeping your main terminal large while monitoring two services below.
How Splits Work Under the Hood
Remocode uses xterm.js for rendering each terminal pane and node-pty to spawn individual shell processes. When you create a split, Remocode instantiates a new xterm.js terminal and connects it to a fresh node-pty process. Each pane is fully independent — you can run different commands, navigate to different directories, and even use different shell configurations.
The Tokyo Night theme with its dark navy background (#1a2b34) provides excellent visual contrast between panes, making it easy to distinguish one terminal from another even in complex layouts.
Navigating Between Panes
Once you have multiple panes open, you can click any pane to give it focus. The active pane is visually highlighted so you always know where your keystrokes will go. This click-to-focus model is more intuitive than tmux's prefix-based pane switching.
Pane Assignment for AI Workflows
One of Remocode's unique features is pane assignment. You can assign a project or task label to any pane, and the AI coding agent will use these assignments when generating status reports. For example, label one pane "frontend" and another "backend," and your standup reports will automatically organize output by these categories.
Output Monitoring Across Splits
Every split pane is automatically monitored for errors and events. If a TypeError appears in your backend pane while you are focused on the frontend pane, Remocode's output monitoring will catch it. Error patterns like ReferenceError, SyntaxError, npm ERR!, and command not found are all detected and reported. Events are batched every 5 seconds and deduplicated to avoid noise.
Closing Panes
Press Cmd+W to close the currently focused pane. If you close the last pane in a tab, the tab itself closes. This keeps your workspace clean as you finish tasks and no longer need certain terminals.
Tips for Effective Split Usage
- ●Start simple — begin with one or two panes and add more as needed
- ●Use consistent layouts — stick with the same layout for similar tasks so muscle memory develops
- ●Label your panes — assign project names so AI reports make sense
- ●Let monitoring work for you — do not waste a pane just to watch for errors; Remocode does it automatically
- ●Close when done — remove panes you no longer need to keep your workspace focused
Split panes in Remocode transform your terminal from a single-task tool into a multi-process command center. With just Cmd+D and Cmd+Shift+D, you can build any layout your workflow demands.
Ready to try Remocode?
Start with a 7-day Pro trial — no credit card required. Download now and start coding with AI from anywhere.
Download Remocodefor macOS