From b7e7cb4715dcc187931462598aabf0e7ef659e55 Mon Sep 17 00:00:00 2001
From: Han Pham <36429830+hanpham32@users.noreply.github.com>
Date: Thu, 3 Jul 2025 19:21:18 -0700
Subject: [PATCH] feat(doc): include all key bindings as set by avante (#2408)
---
README.md | 68 ++++++++++++++++++++++++++++++++++++++-----------------
1 file changed, 47 insertions(+), 21 deletions(-)
diff --git a/README.md b/README.md
index ec8ccbe..d2d4487 100644
--- a/README.md
+++ b/README.md
@@ -786,27 +786,53 @@ Given its early stage, `avante.nvim` currently supports the following basic func
The following key bindings are available for use with `avante.nvim`:
-| Key Binding | Description |
-| ----------------------------------------- | -------------------------------------------- |
-| Leaderaa | show sidebar |
-| Leaderat | toggle sidebar visibility |
-| Leaderar | refresh sidebar |
-| Leaderaf | switch sidebar focus |
-| Leadera? | select model |
-| Leaderae | edit selected blocks |
-| LeaderaS | stop current AI request |
-| Leaderah | select between chat histories |
-| LeaderaB | add all buffer (files) as Selected Files |
-| co | choose ours |
-| ct | choose theirs |
-| ca | choose all theirs |
-| c0 | choose none |
-| cb | choose both |
-| cc | choose cursor |
-| ]x | move to previous conflict |
-| [x | move to next conflict |
-| [[ | jump to previous codeblocks (results window) |
-| ]] | jump to next codeblocks (results windows) |
+| Key Binding | Description |
+| ----------------------------------------- | -------------------------------------- |
+| **Sidebar** | |
+| ]p | next prompt |
+| [p | previous prompt |
+| A | apply all |
+| a | apply cursor |
+| r | retry user request |
+| e | edit user request |
+| <Tab> | switch windows |
+| <S-Tab> | reverse switch windows |
+| d | remove file |
+| @ | add file |
+| q | close sidebar |
+| Leaderaa | show sidebar |
+| Leaderat | toggle sidebar visibility |
+| Leaderar | refresh sidebar |
+| Leaderaf | switch sidebar focus |
+| **Suggestion** | |
+| Leadera? | select model |
+| Leaderan | new ask |
+| Leaderae | edit selected blocks |
+| LeaderaS | stop current AI request |
+| Leaderah | select between chat histories |
+| <M-l> | accept suggestion |
+| <M-]> | next suggestion |
+| <M-[> | previous suggestion |
+| <C-]> | dismiss suggestion |
+| Leaderad | toggle debug mode |
+| Leaderas | toggle suggestion display |
+| LeaderaR | toggle repomap |
+| **Files** | |
+| Leaderac | add current buffer to selected files |
+| LeaderaB | add all buffer files to selected files |
+| **Diff** | |
+| co | choose ours |
+| ct | choose theirs |
+| ca | choose all theirs |
+| cb | choose both |
+| cc | choose cursor |
+| ]x | move to next conflict |
+| [x | move to previous conflict |
+| **Confirm** | |
+| Ctrlwf | focus confirm window |
+| c | confirm code |
+| r | confirm response |
+| i | confirm input |
> [!NOTE]
>