summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-18 18:22:15 +0800
committerGitHub <noreply@github.com>2024-04-18 18:22:15 +0800
commitb9bde15c1fadd88ed35b915481d90ea2c799b8bb (patch)
tree7ae94414af60dfca71197a8f3c9f620f2a2666df /config.example.yaml
parent9149954c7bbc5cce541793e2e7cdcd50b6af2a3c (diff)
downloadaichat-b9bde15c1fadd88ed35b915481d90ea2c799b8bb.tar.gz
feat: add config `buffer_editor` (#417)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.example.yaml b/config.example.yaml
index e423d37..5941353 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -9,7 +9,11 @@ wrap_code: false # Whether wrap code block
ctrlc_exit: false # Whether to exit REPL when Ctrl+C is pressed
auto_copy: false # Automatically copy the last output to the clipboard
keybindings: emacs # REPL keybindings. (emacs, vi)
-prelude: '' # Set a default role or session (role:<name>, session:<name>)
+prelude: null # Set a default role or session (role:<name>, session:<name>)
+
+# Command that will be used to edit the current line buffer with ctrl+o
+# if unset fallback to $EDITOR and $VISUAL
+buffer_editor: null
# Compress session if tokens exceed this value (valid when >=1000)
compress_threshold: 1000