@@ -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
@@ -358,7 +358,7 @@ by configuring the `acp_providers` property:
358358- ` default_thought_level ` (string, optional) - Default thought effort level to
359359 apply on session creation (e.g., ` "high" ` , ` "max" ` for Claude)
360360
361- > [ !NOTE]
361+ > [ !NOTE]
362362> Customizing a provider only requires specifying the fields you want to
363363> override, not the entire configuration.
364364
@@ -458,6 +458,47 @@ header parts:
458458}
459459```
460460
461+ ### Customizing Buffer Names
462+
463+ By default, buffer names mirror the window header titles. You can override them
464+ independently via the ` buffer_name ` field in each window's config, for example
465+ to show cleaner names in your statusline or buffer switcher:
466+
467+ ``` lua
468+ {
469+ " carlos-algms/agentic.nvim" ,
470+ opts = {
471+ windows = {
472+ chat = { buffer_name = " Agentic Chat" },
473+ input = { buffer_name = " Agentic Prompt" },
474+ code = { buffer_name = " Code Snippets" },
475+ files = { buffer_name = " Files" },
476+ diagnostics = { buffer_name = " Diagnostics" },
477+ todos = { buffer_name = " Tasks" },
478+ },
479+ },
480+ }
481+ ```
482+
483+ You can also use a function that receives the header parts and returns a string:
484+
485+ ``` lua
486+ {
487+ " carlos-algms/agentic.nvim" ,
488+ opts = {
489+ windows = {
490+ chat = {
491+ buffer_name = function (parts )
492+ return " AI: " .. parts .title
493+ end ,
494+ },
495+ },
496+ },
497+ }
498+ ```
499+
500+ When a panel has no ` buffer_name ` set, it falls back to the header title.
501+
461502### Folding
462503
463504Long tool call outputs are automatically folded to keep the chat buffer
@@ -690,7 +731,7 @@ are provided by your ACP provider.
690731
691732### File Picker
692733
693- You can reference and add files to the context by typing ` @ ` in the Prompt.
734+ You can reference and add files to the context by typing ` @ ` in the Prompt.
694735It will trigger the native Neovim completion menu with a list of all files in
695736the current workspace.
696737
@@ -1146,7 +1187,7 @@ Enable debug logging to troubleshoot issues:
11461187
11471188View debug logs with ` :messages ` (lost after restarting Neovim)
11481189
1149- View messages exchanged with the ACP provider in the log file at:
1190+ View messages exchanged with the ACP provider in the log file at:
11501191(persistent until you delete it)
11511192
11521193- ` ~/.cache/nvim/agentic_debug.log `
@@ -1157,7 +1198,7 @@ View messages exchanged with the ACP provider in the log file at:
11571198
11581199## 📄 License
11591200
1160- [ MIT License] ( LICENSE.txt )
1201+ [ MIT License] ( LICENSE.txt )
11611202Feel free to copy, modify, and distribute, just be a good samaritan and include
11621203the the acknowledgments 😊.
11631204
0 commit comments