How to Integrate Claude Code with Neovim Using Ghostty Terminal Panes
If you’re a Neovim user feeling left out watching everyone use Claude Code with VS Code, here’s my dead simple solution: three terminal panes.
The Setup
One Ghostty window, three panes:
- Left: Claude Code
- Right: Neovim
- Bottom: Terminal
The Configuration
Add these to your Ghostty config:
toml
keybind = ctrl+h=goto_split:left
keybind = ctrl+j=goto_split:bottom
keybind = ctrl+k=goto_split:top
keybind = ctrl+l=goto_split:right
1
2
3
4
Now use Control + vim keys to jump between panes instantly. No mouse, no window switching.
Why It Works
This setup eliminates the need for VS Code or Cursor. You keep your Neovim config, your muscle memory, and gain AI assistance exactly when you need it.
Getting Started
- Install Ghostty (or any terminal with panes)
- Add the keybindings
- Open three panes
- Start Claude Code, Neovim, and a terminal
That’s it. We get all the CC goodness without losing vim!
Source link