Add other open buffer files to context. #685
Conversation
|
It's great, I think it would be even better if, like codecompanion.nvim, it allowed users to select which buffers to insert. |
|
I would love this. Although a separate keymap would be nice, say <space>+ab |
|
Can it be turned into a configurable item? And how about as a cmp mentions? For example: |
|
Btw, I assumed this <space>+ab would add all visible buffers in the current tab to the context. Adding ALL buffers could get sloppy as your open buffers list grows quite large over a long vim session. |
|
This worked perfectly |
|
I pulled this branch into my config and keep getting the same error no matter what I ask: If theres something I did wrong let me know. All I did was change my Lazy source to "hesiod-au/avante.nvim" and reloaded and updated my Lazy config. I agree with other suggestions that there should be a keybind or inline command to add buffers to context. Copilot chat in VsCode has the "#" symbol which you can then explicitly add a file to the context. Something as a command in the chat window or a keybind to list and choose buffers would be a nice feature rather than all buffers. |
|
FWIW the two features have eliminated my need for this:
Do others feel the same? |
|
I'll close this very old PR for now, and I'll implement it in another way. |
No description provided.