This commit is contained in:
Paul Gauthier 2024-07-28 08:14:07 -03:00
parent ddac92f37f
commit 90b3542e75

View file

@ -41,19 +41,19 @@ You can easily re-send commands or messages.
Use the up arrow ⬆ to scroll back Use the up arrow ⬆ to scroll back
or CONTROL-R to search your message history. or CONTROL-R to search your message history.
# Entering multi-line chat messages ## Entering multi-line chat messages
{% include multi-line.md %} {% include multi-line.md %}
# Interrupting with CONTROL-C ## Interrupting with CONTROL-C
It's always safe to use Control-C to interrupt aider if it isn't providing a useful response. The partial response remains in the conversation, so you can refer to it when you reply to the LLM with more information or direction. It's always safe to use Control-C to interrupt aider if it isn't providing a useful response. The partial response remains in the conversation, so you can refer to it when you reply to the LLM with more information or direction.
# Keybindings ## Keybindings
The interactive prompt is built with [prompt-toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit) which provides emacs and vi keybindings. The interactive prompt is built with [prompt-toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit) which provides emacs and vi keybindings.
## Emacs ### Emacs
- `Ctrl-A` : Move cursor to the start of the line. - `Ctrl-A` : Move cursor to the start of the line.
- `Ctrl-B` : Move cursor back one character. - `Ctrl-B` : Move cursor back one character.
@ -67,7 +67,7 @@ The interactive prompt is built with [prompt-toolkit](https://github.com/prompt-
- `Ctrl-R` : Reverse search in command history. - `Ctrl-R` : Reverse search in command history.
## Vi ### Vi
To use vi/vim keybindings, run aider with the `--vim` switch. To use vi/vim keybindings, run aider with the `--vim` switch.