mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
Updated keybindings for Emacs and Vi in the interactive prompt.
This commit is contained in:
parent
eddf31b38f
commit
66f5042ff5
1 changed files with 6 additions and 1 deletions
|
@ -38,7 +38,9 @@ cog.out(get_help_md())
|
||||||
|
|
||||||
# Keybindings
|
# 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
|
The interactive prompt is built with [prompt-toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit) which provides emacs and vi keybindings.
|
||||||
|
|
||||||
|
## 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.
|
||||||
|
@ -51,3 +53,6 @@ The interactive prompt is built with [prompt-toolkit](https://github.com/prompt-
|
||||||
- `Ctrl-P` : Move up to the previous history entry.
|
- `Ctrl-P` : Move up to the previous history entry.
|
||||||
- `Ctrl-R` : Reverse search in command history.
|
- `Ctrl-R` : Reverse search in command history.
|
||||||
|
|
||||||
|
|
||||||
|
## Vi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue