mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
![]() # Aider chat conversation: USER: Add useful vim keybindings for a prompt toolkit prompt ASSISTANT: Here is the updated content with useful Vim keybindings added for the prompt toolkit prompt: website/docs/commands.md ```markdown <<<<<<< SEARCH ## Vi ======= ## Vi - `Esc` : Switch to command mode. - `i` : Switch to insert mode. - `a` : Move cursor one character to the right and switch to insert mode. - `A` : Move cursor to the end of the line and switch to insert mode. - `I` : Move cursor to the beginning of the line and switch to insert mode. - `h` : Move cursor one character to the left. - `j` : Move cursor down one line. - `k` : Move cursor up one line. - `l` : Move cursor one character to the right. - `w` : Move cursor forward one word. - `b` : Move cursor backward one word. - `0` : Move cursor to the beginning of the line. - `$` : Move cursor to the end of the line. - `x` : Delete the character under the cursor. - `dd` : Delete the current line. - `u` : Undo the last change. - `Ctrl-R` : Redo the last undone change. - `:` : Enter command mode for ex commands (e.g., `:w` to save). >>>>>>> REPLACE ``` |
||
---|---|---|
.. | ||
_data | ||
_includes | ||
_layouts | ||
_posts | ||
_sass/custom | ||
assets | ||
blog | ||
docs | ||
examples | ||
share | ||
_config.yml | ||
Gemfile | ||
index.md |