@@ -202,8 +202,8 @@ https://github.com/user-attachments/assets/c6653a8b-20ef-49c8-b644-db0df1b342f0
202202 - For security reasons, this plugin doesn't install or manage binaries for
203203 you. You must install them manually.
204204
205- ** We recommend using ` pnpm ` **
206- ` pnpm ` uses a constant, static global path, that's resilient to updates.
205+ ** We recommend using ` pnpm ` **
206+ ` pnpm ` uses a constant, static global path, that's resilient to updates.
207207While ` npm ` loses global packages every time you change Node versions using
208208tools like ` nvm ` , ` fnm ` , etc...
209209
@@ -222,14 +222,14 @@ tools like `nvm`, `fnm`, etc...
222222| [ cline] [ cline ] | ` pnpm add -g cline ` <br /> ** OR** ` npm i -g cline ` <br /> ** OR** See [ Cline docs] [ cline-docs ] |
223223| [ goose] [ goose ] | ` brew install block-goose-cli ` <br /> ** OR** See [ Goose docs] [ goose-docs ] |
224224
225- > [ !WARNING]
225+ > [ !WARNING]
226226> These install commands are here for convenience, please always refer to the
227227> official installation instructions from the respective ACP provider.
228228
229- > [ !NOTE]
229+ > [ !NOTE]
230230> Why install ACP provider CLIs globally?
231231> [ shai-hulud] ( https://www.wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack )
232- > should be reason enough. 📌 Pin your versions!
232+ > should be reason enough. 📌 Pin your versions!
233233> But frontend projects with strict package management policies will fail to
234234> start when using ` npx ... `
235235
@@ -307,8 +307,8 @@ here for ease access and reference:
307307You can customize the built-in providers or add any new ACP-compatible provider
308308by configuring the ` acp_providers ` property:
309309
310- > [ !NOTE]
311- > You don't have to override anything or include these in your setup!
310+ > [ !NOTE]
311+ > You don't have to override anything or include these in your setup!
312312> These are just examples of how you can customize the commands, env, etc.
313313
314314``` lua
@@ -356,7 +356,7 @@ by configuring the `acp_providers` property:
356356- ` initial_model ` (string, optional) - Default model ID to set on session
357357 creation (e.g., ` "haiku" ` )
358358
359- > [ !NOTE]
359+ > [ !NOTE]
360360> Customizing a provider only requires specifying the fields you want to
361361> override, not the entire configuration.
362362
@@ -502,6 +502,47 @@ header parts:
502502}
503503```
504504
505+ ### Customizing Buffer Names
506+
507+ By default, buffer names mirror the window header titles. You can override them
508+ independently via the ` buffer_name ` field in each window's config, for example
509+ to show cleaner names in your statusline or buffer switcher:
510+
511+ ``` lua
512+ {
513+ " carlos-algms/agentic.nvim" ,
514+ opts = {
515+ windows = {
516+ chat = { buffer_name = " Agentic Chat" },
517+ input = { buffer_name = " Agentic Prompt" },
518+ code = { buffer_name = " Code Snippets" },
519+ files = { buffer_name = " Files" },
520+ diagnostics = { buffer_name = " Diagnostics" },
521+ todos = { buffer_name = " Tasks" },
522+ },
523+ },
524+ }
525+ ```
526+
527+ You can also use a function that receives the header parts and returns a string:
528+
529+ ``` lua
530+ {
531+ " carlos-algms/agentic.nvim" ,
532+ opts = {
533+ windows = {
534+ chat = {
535+ buffer_name = function (parts )
536+ return " AI: " .. parts .title
537+ end ,
538+ },
539+ },
540+ },
541+ }
542+ ```
543+
544+ When a panel has no ` buffer_name ` set, it falls back to the header title.
545+
505546### Folding
506547
507548Long tool call outputs are automatically folded to keep the chat buffer
@@ -720,7 +761,7 @@ are provided by your ACP provider.
720761
721762### File Picker
722763
723- You can reference and add files to the context by typing ` @ ` in the Prompt.
764+ You can reference and add files to the context by typing ` @ ` in the Prompt.
724765It will trigger the native Neovim completion menu with a list of all files in
725766the current workspace.
726767
@@ -1147,7 +1188,7 @@ Enable debug logging to troubleshoot issues:
11471188
11481189View debug logs with ` :messages ` (lost after restarting Neovim)
11491190
1150- View messages exchanged with the ACP provider in the log file at:
1191+ View messages exchanged with the ACP provider in the log file at:
11511192(persistent until you delete it)
11521193
11531194- ` ~/.cache/nvim/agentic_debug.log `
@@ -1158,7 +1199,7 @@ View messages exchanged with the ACP provider in the log file at:
11581199
11591200## 📄 License
11601201
1161- [ MIT License] ( LICENSE.txt )
1202+ [ MIT License] ( LICENSE.txt )
11621203Feel free to copy, modify, and distribute, just be a good samaritan and include
11631204the the acknowledgments 😊.
11641205
0 commit comments