From b07a112f894599a35a58ea536b96f342f2bc64d8 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 7 Nov 2023 21:45:36 +0800 Subject: feat: deprecate `.edit`, use """ instead (#225) --- README.md | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index df4ed18..0f52c90 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,6 @@ The Chat REPL supports: 〉.help .help Print this help message .info Print system info -.edit Multi-line editing (CTRL+S to finish) .model Switch LLM model .role Use a role .info role Show role info @@ -153,6 +152,7 @@ The Chat REPL supports: .read Import from file and submit .exit Exit the REPL +Type """ to begin multi-line editing, type """ to end it. Press Ctrl+C to abort readline, Ctrl+D to exit the REPL ``` @@ -176,26 +176,6 @@ messages_file /home/alice/.config/aichat/messages.md sessions_dir /home/alice/.config/aichat/sessions ``` -### `.edit` - multiline editing - -AIChat supports bracketed paste, so you can paste multi-lines text directly. - -AIChat also provides `.edit` command for multi-lines editing. - -``` -〉.edit convert json below to toml -{ - "an": [ - "arbitrarily", - "nested" - ], - "data": "structure" -} -``` - -> Submit with `Ctrl+S`. - - ### `.model` - choose a model ``` -- cgit v1.2.3