feat: add context-aware ask keymaps

This commit is contained in:
Erik Kotsiuba
2026-05-06 12:44:37 +02:00
parent 3672ada13f
commit 808b62cc77
18 changed files with 1158 additions and 444 deletions
+5 -2
View File
@@ -90,8 +90,11 @@ test("editing footers use configured key labels", () => {
...DEFAULT_ASK_CONFIG,
keymaps: {
...DEFAULT_ASK_CONFIG.keymaps,
confirm: "ctrl+k",
cancel: "q",
noteEditor: {
...DEFAULT_ASK_CONFIG.keymaps.noteEditor,
save: ["ctrl+k"],
close: ["q"],
},
},
};