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

fix empty buffer when terminal provider is none

Open ldelossa opened this issue 8 months ago • 4 comments

Extract the marking of the current buffer to ephemeral when tabnew is applied.

Use this function at every early return site where vim.cmd(tabnew) is called.

Fixes: #208

ldelossa avatar Mar 23 '26 16:03 ldelossa

Any news?

Davydhh avatar Apr 07 '26 16:04 Davydhh

@Davydhh nah, just riding my fork right now. Not many updates to this repo lately anyway. You can checkout the branch: https://github.com/ldelossa/claudecode.nvim/tree/provider-none-empty-buffer-fix -- spam buffers are gone, working well.

ldelossa avatar Apr 09 '26 13:04 ldelossa

@Davydhh and anyone else interested. I just created: https://github.com/ldelossa/pi-ide.nvim

Originally created for the Pi LLVM harness, its 100% compatible with claude code's IDE's integration, but focuses ONLY on the use case where claude code is ran outside of Neovim. This is the correct ergonomics IMO. I'll be maintaining this plugin as long as I use it across Pi and claude code.

ldelossa avatar May 28 '26 12:05 ldelossa

@ldelossa That sounds interesting—I'll give it a try. Thanks.

Davydhh avatar May 28 '26 13:05 Davydhh