Skip to content

Commit 6849228

Browse files
committed
docs: add scroll_to_bottom configuration option
1 parent 096aa19 commit 6849228

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ require("sllm").setup({
111111
on_start_new_chat = true, -- start fresh chat on setup
112112
reset_ctx_each_prompt = true, -- clear file context each ask
113113
window_type = "vertical", -- Default. Options: "vertical", "horizontal", "float"
114+
scroll_to_bottom = true, -- whether to keep the cursor at the bottom of the LLM window
114115
-- function for item selection (like vim.ui.select)
115116
pick_func = require("mini.pick").ui_select,
116117
-- function for notifications (like vim.notify)
@@ -136,6 +137,7 @@ require("sllm").setup({
136137
| `on_start_new_chat` | boolean | `true` | Begin with a fresh chat buffer on plugin setup |
137138
| `reset_ctx_each_prompt` | boolean | `true` | Automatically clear file context after every prompt (if `true`) |
138139
| `window_type` | string | `"vertical"` | Window style: `"vertical"`, `"horizontal"`, or `"float"`. |
140+
| `scroll_to_bottom` | boolean | `true` | Whether to keep the cursor at the bottom of the LLM window. |
139141
| `pick_func` | function | `require('mini.pick').ui_select` | UI function for interactive model selection |
140142
| `notify_func` | function | `require('mini.notify').make_notify()` | Notification function |
141143
| `input_func` | function | `vim.ui.input` | Input prompt function. |

0 commit comments

Comments
 (0)