From 7b193d693f65893b5a95330345ccaaf5d640079c Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 30 Nov 2024 18:23:34 -0800 Subject: [PATCH] docs: clarify Control-Up/Down for message history navigation --- aider/website/docs/usage/commands.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/aider/website/docs/usage/commands.md b/aider/website/docs/usage/commands.md index 8f445afb9..8cb144a11 100644 --- a/aider/website/docs/usage/commands.md +++ b/aider/website/docs/usage/commands.md @@ -77,8 +77,10 @@ The interactive prompt is built with [prompt-toolkit](https://github.com/prompt- ### Emacs -- `Up Arrow` : Scroll back through previously sent messages. -- `Down Arrow` : Scroll forward through previously sent messages. +- `Up Arrow` : Move up one line in the current message. +- `Down Arrow` : Move down one line in the current message. +- `Ctrl-Up` : Scroll back through previously sent messages. +- `Ctrl-Down` : Scroll forward through previously sent messages. - `Ctrl-A` : Move cursor to the start of the line. - `Ctrl-B` : Move cursor back one character. - `Ctrl-D` : Delete the character under the cursor. @@ -95,8 +97,10 @@ The interactive prompt is built with [prompt-toolkit](https://github.com/prompt- To use vi/vim keybindings, run aider with the `--vim` switch. -- `Up Arrow` : Scroll back through previously sent messages. -- `Down Arrow` : Scroll forward through previously sent messages. +- `Up Arrow` : Move up one line in the current message. +- `Down Arrow` : Move down one line in the current message. +- `Ctrl-Up` : Scroll back through previously sent messages. +- `Ctrl-Down` : Scroll forward through previously sent messages. - `Esc` : Switch to command mode. - `i` : Switch to insert mode. - `a` : Move cursor one character to the right and switch to insert mode.