Closed StanAngeloff closed 5 days ago
I think it's more surprising to send non-visible buffers than the opposite, so I'd be happy to apply this unconditionally. I think for sending hidden buffers a better mechanism would be prudent (e.g. a way to specify such buffers explicitly in the ClaudeChat window).
In keeping with the spirit of the original development, I asked Claude to update
function! s:GetBufferContents()
to only send buffers that are currently visible. This is very handy as anything that's quit and not attached to a window will get ignored. I'm a heavy user of tabs and I found thatclaude.vim
was sending the contents of tabs I have long since quit.I'm not sending as a PR as I find this change to be controversial and may affect current users of the plug-in. I'd be happy to refactor (or rather ask Claude to refactor) and put this behind a flag?