FrankZhangIronly/dsh-composer-enter ↗★ 0
dsh-composer-enter
DSH 网页插件:重映射聊天输入框中回车键的行为(发送 / 换行 / 插话),配置持久化至 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.