This guide provides a comprehensive setup for using the Ghostty terminal emulator with Anthropic's Claude Code agentic coding tool. It highlights how Ghostty’s native splits, notification forwarding, and state restoration features minimize friction during long sessions where an AI agent is modifying files and running tests.
The article covers several key optimizations:
- Core configuration for typography (JetBrains Mono Nerd Font), themes, and window persistence to restore layouts between restarts.
- Implementation of the SAND keybinding pattern for intuitive split pane management.
- Three distinct workspace presets: Standard Split, Three-Pane Neovim Layout, and Multi-Project Tab Layout.
- Automation scripts for installing necessary fonts, configuring a compatible Starship prompt (to avoid issues with Powerlevel10k), and setting Ghostty as the default terminal handler.
- A specialized tmux script designed to handle remote sessions while ensuring Claude Code notifications and extended keys pass through correctly.
- Specific JSON settings to synchronize Claude Code's theme and system notification behavior with Ghostty’s environment.