claudecode.nvim icon indicating copy to clipboard operation
claudecode.nvim copied to clipboard

[FEATURE] support plan mode

Open difro opened this issue 10 months ago • 2 comments

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.

difro avatar Jan 25 '26 01:01 difro

@ThomasK33 @difro could I work on implementing this if it's not already done

Kameleon21 avatar Feb 04 '26 20:02 Kameleon21

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.

minego avatar Jul 02 '26 17:07 minego