How to automatically attach current buffer on CodeCompanionChat #1976
-
|
I just want current buffer always added when opening a chat |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
|
You know you only need to type |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, i know, but I type it 99% percent of time when I open it. Somehow if it was already there, it would be amazing |
Beta Was this translation helpful? Give feedback.
-
|
I solved this with an autocommand: And then in the clear chat keymap: |
Beta Was this translation helpful? Give feedback.
-
|
so now which solution should we use? |
Beta Was this translation helpful? Give feedback.
Check out the prompt library. Or, create a snippet on your OS.