FrankZhangIronly/dsh-composer-enter0

dsh-composer-enter

DSH 网页插件:重映射聊天输入框中回车键的行为(发送 / 换行 / 插话),配置持久化至 settings.yaml。

AI 分析

核心用途是自定义输入框的 Enter、Shift+Enter 等快捷键组合。适合对键盘操作习惯有特定要求、希望避免误触发送的用户。安装后在通用设置中配置。

套件
dsh-composer-enter
版本
0.1.0
最近更新
2026年8月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FrankZhangIronly/dsh-composer-enter

Configuration

The namespace ui-composer-enter exposes three fields, all matching ^(?:enter|(shift|ctrl|alt|meta)(\+(shift|ctrl|alt|meta))*+enter)$:

FieldDefaultMeaning
sendComboenterThe combination that sends the message.
newlineComboshift+enterThe combination that inserts a newline into the composer.
steerComboctrl+enterThe 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.