[FEATURE] support plan mode
Feature Description
When in plan mode, claude asks to review the plan in Nvim like following.
ctrl-g to edit in Nvim · ~/.claude/plans/optimized-marinating-scott.md
I'd like this to open up in my connected nvim session. Currently ctrl-g just fires up a new nvim session inside cc terminal.
Use Case
ability to edit plan in connected nvim session
Proposed Solution
If you have ideas about how to implement the feature, share them here.
Alternatives Considered
Have you considered any alternative solutions or workarounds?
Additional Context
Add any other context, screenshots, or examples about the feature request here.
@ThomasK33 @difro could I work on implementing this if it's not already done
I use https://github.com/willothy/flatten.nvim and ctrl-g works perfectly for me with it.
I've been using flatten.nvim for a long time, and it just happened to work for this. It is a plugin that detects trying to start neovim from within a child process of neovim (like in a terminal) and then opens the file in the parent instance and exits the child instance.
It is a really slick plugin if you use terminals in neovim heafily.