{"id":"2023151176758268349","url":"https://x.com/dani_avila7/status/2023151176758268349","text":"","author":{"name":"Daniel San","username":"dani_avila7","avatarUrl":"https://pbs.twimg.com/profile_images/1952921529504649216/RYHFCSSM_200x200.jpg"},"createdAt":"Sun Feb 15 21:43:23 +0000 2026","engagement":{"replies":67,"retweets":149,"likes":2255,"views":1090826},"article":{"title":"My Ghostty setup for Claude Code with SAND Keybindings","previewText":"First... Why I Switched to Ghostty\nAfter months using Claude Code daily I realized I was barely using VSCode or Cursor, just the terminal and git panel, everything else Claude Code handled.\nThe","coverImageUrl":"https://pbs.twimg.com/media/HBOjn6UX0AAQhI-.jpg","content":"# First... Why I Switched to Ghostty\n\nAfter months using Claude Code daily I realized I was barely using VSCode or Cursor, just the terminal and git panel, everything else Claude Code handled.\n\nThe problem is VSCode’s terminal is fragile, long Claude Code sessions crash it, even on an M4. It’s not hardware, it’s a terminal not built for AI-scale output... I needed a real terminal\n\n![](https://pbs.twimg.com/media/HBOlLlKbsAAGdbZ.png)\n\nGhostty came up, community matters and it’s built by @mitchellh, co-founder of HashiCorp, someone with a serious track record. Ghostty felt future-proof.\n\n![](https://pbs.twimg.com/media/HBOk1hWXcAEtktr.jpg)\n\nThis is the first of three articles about my workflow with Ghostty and Claude Code I start with my \"SAND\" keybindings that make panel management second nature\n\n1. My Ghostty setup for Claude Code with SAND Keybindings\n\n1. Monitoring Claude Code changes with Lazygit\n\n1. Parallel agents with Git worktrees and Claude Code\n\n## Getting Started with Ghostty\n\nDownload Ghostty from [ghostty.org](https://ghostty.org/) (macOS and Linux). Once installed, you need a configuration file at ~/.config/ghostty/config.\n\nThe easiest way to set it up? Open Claude Code and tell it:\n\n> Configure Ghostty with this config: https://gist.github.com/davila7/5b07f55a6e65a06c121da9702d10c2e2\n\nClaude will read the gist, create the config file, and you're done. If you prefer to do it manually:\n\n# How I Manage Panels in Ghostty\n\nUsing Ghostty with Claude Code works best with split panels you might have Claude on one side, git changes on another, maybe a file browser on a third If you can’t split, navigate, and close panels without thinking you end up fumbling with shortcuts instead of coding.\n\nI kept forgetting Ghostty’s keybindings so I organized them into a mnemonic SAND Four letters, four actions every panel operation falls into one of these categories\n\n## S - Split: Create new panels\n\nSplit your terminal into multiple panels. \n\n- Cmd+D splits right (vertical) \n\n- Cmd+Shift+D splits down (horizontal)\n\n## A - Across: Move between tabs\n\nNavigate across tabs. \n\n- Cmd+T opens a new tab \n\n- Cmd+Shift+Left/Right moves between them\n\n## N - Navigate: Jump between split panels\n\nMove focus between your splits. \n\n- Cmd+Alt+Arrows jumps in any direction \n\n- Cmd+Shift+E equalizes all splits\n\n- Cmd+Shift+F zooms into one panel (press again to restore)\n\n## \n\n## D - Destroy: Close panels and tabs\n\nClose what you don't need. \n\n- Cmd+W closes the current panel or tab\n\n## My Workflow Layout\n\nThis is what my daily setup looks like, and it scales from 1 to 3 Claude Code instances running in parallel... remember use SAND!\n\nStart simple: one Claude Code panel on the left, S (Cmd+D) to split right, and run [lazygit](https://github.com/jesseduffield/lazygit) there to monitor every commit and diff Claude makes in real time. \n\n![](https://pbs.twimg.com/media/HBOowOKaYAAnxMd.jpg)\n\nThen S again (Cmd+Shift+D) to split the right panel down and open [yazi](https://github.com/sxyazi/yazi) as a file browser:\n\n![](https://pbs.twimg.com/media/HBOpMvyXQAA-Qtz.jpg)\n\nBut when you're working on multiple tasks, you can split the left side into 2 or 3 Claude Code instances, each running on a different Git worktree:\n\n![](https://pbs.twimg.com/media/HBOpcAiXMAAP-yn.jpg)\n\nIf some Claude Code panels get too big because you need more context you can press Cmd+Shift+E to equalize all windows and bring them back to a balanced layout\n\nThat’s the power of combining Ghostty with worktrees you go from a single agent to a multi-agent setup without leaving your terminal\n\n## Tip: \n\nstick a post-it with the letters SAND somewhere you can see it every time you see it, practice the commands after a week you’ll have Ghostty fully under control from the keyboard\n\n![](https://pbs.twimg.com/media/HBOr3XvbQAAMr4R.jpg)\n\nAnd if you ever forget a shortcut, just press Cmd + Shift + P to open the Command Palette and see the full list of available commands.\n\n# Next Articles\n\nThis was the first article ehe next two will show how I work with Ghostty and Claude Code\n\nOne article will cover Lazygit, watch Claude Code’s commits, diffs, and branch changes in real time\n\nThe other will cover git worktrees and parallel agents, run multiple Claude Code instances on different tasks and use yazi to browse project files\n\nFollow me to catch the next articles! 👇"},"adhxContext":{"savedByCount":1,"publicTags":[],"previewUrl":"https://adhx.com/dani_avila7/status/2023151176758268349"}}