DDDPG/dsh-plugins--plugins-dsh-keys-palette ↗★ 0
dsh-keys-palette
DSH web plugin: a Cmd+/ floating shortcut palette with a public keys.actions registry (other plugins register bindable behaviors) and durable per-user bindings.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DDDPG/dsh-plugins#543d4b046af0c67602be6d16cba7f6ed94239247&path:plugins/dsh-keys-palette说明文档
阅读完整 README ↗dsh-keys-palette
A lightweight DSH web plugin that adds a floating shortcut palette to the
workspace: press Cmd+/ (macOS) / Ctrl+/ (elsewhere) to open it, see what
keys DSH currently uses, and bind your own key combos to common behaviors.
Published on npm: dsh-keys-palette@0.2.0 (latest; UI follows the DSH language — zh/en).
Usage
# install into the web profile of a running dsh (npm / bundle channel; latest)
dsh plugin --profile web add dsh-keys-palette
The bundle channel composes at profile boot — it takes effect on the next
dsh start. (Alternative: ./scripts/install.sh web plugins/dsh-keys-palette
hot-applies without restart; pick one channel, mixing them double-mounts
the plugin.)
Then, in the browser:
- Press
Cmd+/to open the palette. - In Custom bindings, press Record (录制) on a row, then press your combo — done.
- Clear (清除) unbinds; Reset defaults (恢复默认) resets only the built-in actions (external bindings are kept).
The same binding UI is under Settings → Shortcuts (快捷键). Bindings persist
in localStorage (dsh.keys-palette.v1).
Built-in actions and their defaults:
| id | label | default |
|---|---|---|
toggle-sidebar | Toggle Sidebar (切换侧边栏) | Mod+Shift+E |
new-session | New Session (新建会话) | Mod+Shift+Enter |
cycle-theme | Cycle Theme (切换明暗主题) | Mod+Shift+K |
open-details / close-details | Open Details / Close Details (打开 / 关闭详情栏) | — |
cycle-locale | Cycle UI Language (切换界面语言) | — |
Mod = Cmd on macOS, Ctrl elsewhere. Browser-reserved combos (e.g.
Cmd+S) never reach the page and can't be bound.