How one developer unified Ghostty and herdr keyboard shortcuts into a single workflow
A developer using the Ghostty terminal emulator integrated herdr, a multiplexer designed for running AI coding agents, after finding that both tools used conflicting keyboard shortcuts for similar actions like tabs and splits. The core problem was having two separate shortcut sets for the same functions, such as Cmd+T for a Ghostty tab and a prefix key for a herdr tab. The solution involved unbinding the relevant default shortcuts in Ghostty's config so keypresses pass through directly to herdr, which was then configured to respond to the same familiar macOS shortcuts. A key distinction drove the mapping: herdr tabs and workspaces persist on a background server even after closing the window, making them the preferred target for those shortcuts over Ghostty's session-only tabs. The author also notes that macOS users must enable macos-option-as-alt in Ghostty for Alt+1–9 shortcuts to function correctly within herdr.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in