dsh-vscode-mode 0.1.44 → 0.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -112,15 +112,18 @@ async function refreshMcp(ctx, id) {
112
112
  /**
113
113
  * dsh-vscode-mode shared — 快捷键命令目录与默认键位(双面契约)。
114
114
  * 纯数据模块:host(settings schema 默认值)与 client(执行匹配/设置页)共用。
115
- * 键位格式:修饰符 + 主键,`+` 连接,如 `Ctrl+Shift+F`;空串 = 未绑定。
115
+ * 键位格式:修饰符 + 主键,`+` 连接,如 `Ctrl+Shift+F`;空串 = 未绑定;
116
+ * `|` 连接多个候选(任一命中即触发),如 `Alt+ArrowLeft|Ctrl+Alt+-`。
116
117
  * 作者 ddj 2026年08月26号
117
118
  */
118
- /** 命令 id → 默认键位。命令目录以此为准,新增命令只需加一项。 */
119
+ /** 命令 id → 默认键位(可为多候选)。命令目录以此为准,新增命令只需加一项。 */
119
120
  const KEYBINDING_DEFAULTS = {
120
121
  "edrv.save": "Ctrl+S",
121
122
  "edrv.quickOpen": "Ctrl+P",
122
123
  "edrv.toggleSidebar": "Ctrl+B",
123
- "edrv.searchInFiles": "Ctrl+Shift+F"
124
+ "edrv.searchInFiles": "Ctrl+Shift+F",
125
+ "edrv.navigateBack": "Alt+ArrowLeft|Ctrl+Alt+-",
126
+ "edrv.navigateForward": "Alt+ArrowRight|Ctrl+Shift+-"
124
127
  };
125
128
  //#endregion
126
129
  //#region src/fileOpenSettings.ts