Updated multi-line msg docs

This commit is contained in:
Paul Gauthier 2024-06-10 16:43:07 -07:00
parent d30b21139b
commit 7695d08f92
3 changed files with 9 additions and 6 deletions

View file

@ -32,6 +32,10 @@ cog.out(get_help_md())
- **/web** Use headless selenium to scrape a webpage and add the content to the chat
<!--[[[end]]]-->
# Entering multi-line chat messages
{% include multi-line.md %}
# Keybindings
The interactive prompt is built with [prompt-toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit) which provides a lot of Emacs and Vi-style keyboard. Some emacs bindings you may find useful are
@ -47,5 +51,3 @@ The interactive prompt is built with [prompt-toolkit](https://github.com/prompt-
- `Ctrl-P` : Move up to the previous history entry.
- `Ctrl-R` : Reverse search in command history.
Note: aider currently exits vi normal mode after a single command, (maybe something to do with the esc keybinding?).
Feel free to investigate and make a PR if you would like to see it fully supported.

View file

@ -20,10 +20,7 @@ Or just paste the errors into the chat. Let the aider figure out and fix the bug
- If test are failing, use the `/test` [in-chat command](/docs/commands.html)
to run tests and
share the error output with the aider.
- You can send long, multi-line messages in the chat:
- In most environments, you can paste multi-line messages directly into the chat.
- Enter `{` alone on the first line to start a multiline message and `}` alone on the last line to end and send it.
- You can use Meta-ENTER (Esc+ENTER in some environments) to start a new line without sending the message.
- {% include multi-line.md %}
- LLMs know about a lot of standard tools and libraries, but may get some of the fine details wrong about API versions and function arguments.
You can paste doc snippets into the chat to resolve these issues.