-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
I’m not sure if there’ll be interest in implementing it in the plugin core, but I hacked a custom provider that adds two features:
- Tab-scoped sessions: Each Neovim tab gets its own independent Claude Code session. I can run multiple sessions within the same branch, or have agents working autonomously on different worktrees while I focus on something else.
- Layout switching: Sometimes I have long discussions with an agent without referencing code much. In those cases, I prefer a centered floating window over the side panel. The provider supports two layouts—
sideandfloat—and I can toggle between them with a keybind.
Multisession required a few patches, but it works.
I put all details in the blog post: https://alex.draft42.io/blog/multisession-agentic-workflow-with-claude-code-in-neovim-lsdoiuzd0
Provider source: https://github.com/alex35mil/dotfiles/blob/master/home/.config/nvim/lua/editor/features/claudecode-provider.lua
Provider + plugin config: https://github.com/alex35mil/dotfiles/blob/master/home/.config/nvim/lua/plugins/ai/claudecode.lua
Metadata
Metadata
Assignees
Labels
No labels