FrankZhangIronly/dsh-composer-enter ↗★ 0
dsh-composer-enter
DSH web plugin: remap how Enter behaves in the chat composer (send / newline / interject), persisted to settings.yaml.
AI 分析
核心用途是自定义输入框的 Enter、Shift+Enter 等快捷键组合。适合对键盘操作习惯有特定要求、希望避免误触发送的用户。安装后在通用设置中配置。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FrankZhangIronly/dsh-composer-enterドキュメント
README 全文を読む ↗Configuration
The namespace ui-composer-enter exposes three fields, all matching ^(?:enter|(shift|ctrl|alt|meta)(\+(shift|ctrl|alt|meta))*+enter)$:
| Field | Default | Meaning |
|---|---|---|
sendCombo | enter | The combination that sends the message. |
newlineCombo | shift+enter | The combination that inserts a newline into the composer. |
steerCombo | ctrl+enter | The combination that interjects / flushes queued messages. Must differ from both above and may not be plain Enter. |
You can change these in the Settings UI, or by hand in settings.yaml:
ui-composer-enter:
sendCombo: enter
newlineCombo: shift+enter
steerCombo: ctrl+enter
The plugin watches settings/document-updated and reloads automatically whenever the file changes.