mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-12 15:45:00 +00:00
Implement multiline-mode, swaps Enter & Meta-Enter
This commit is contained in:
parent
fbde0936e7
commit
aaf7e3f943
6 changed files with 66 additions and 2 deletions
|
@ -5,6 +5,10 @@ You can send long, multi-line messages in the chat in a few ways:
|
|||
- Use Meta-ENTER to start a new line without sending the message (Esc+ENTER in some environments).
|
||||
- Use `/paste` to paste text from the clipboard into the chat.
|
||||
- Use the `/editor` command to open your editor to create the next chat message. See [editor configuration docs](/docs/config/editor.html) for more info.
|
||||
- Use multiline-mode, which swaps the function of Meta-Enter and Enter, so that Enter inserts a newline, and Meta-Enter submits your command. You can enable multiline mode in three ways:
|
||||
- Use the `/multiline-mode` command to toggle it during a session
|
||||
- Start aider with the `--multiline` flag
|
||||
- Start aider with the environment variable AIDER\_MULTILINE=true
|
||||
|
||||
Example with a tag:
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue