feat: allow pressing apply_all mapping anywhere in sidebar (#528) (#712)

- make apply and apply_all mappings configurable
- fixed bug where apply mapping was not unbound in unbind_apply_key
- allow apply_all mapping to be pressed anywhere in the sidebar

fixes #528
This commit is contained in:
Maddison Hellstrom
2024-10-12 03:41:08 -07:00
committed by GitHub
parent e010c5541e
commit 347d9be730
3 changed files with 30 additions and 14 deletions

View File

@@ -246,6 +246,8 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
insert = "<C-s>",
},
sidebar = {
apply_all = "A",
apply_cursor = "a",
switch_windows = "<Tab>",
reverse_switch_windows = "<S-Tab>",
},