itchenshi/dsh-keys-setting ↗★ 0
dsh-keys-setting
DeepSeek Harness plugin: choose whether Enter, Shift+Enter and Ctrl/Cmd+Enter send the message or insert a line break, from the Settings window's General page. 适合需要根据个人输入习惯调整Enter和Ctrl+Enter按键映射的用户。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:itchenshi/dsh-keys-settingREADME
Read the full README ↗配置
偏好存在 $DSH_HOME/settings.yaml 的 composer-keys 段,可以直接手改:
composer-keys:
enter: newline # Enter 换行
shiftEnter: newline # Shift+Enter 换行(默认)
ctrlEnter: send # Ctrl+Enter 发送(默认)
手改文件后切回 Harness 窗口即生效(插件在窗口重新获焦时重读),无需刷新页面; 在设置窗口里改则立即生效。
插件行的开关(可选,写在 cordis.patch.yml 的行 config 里):
- insert:
- id: composer-keys # 行 id 与包名解耦,刻意保持不变(见下)
name: dsh-keys-setting
config:
enabled: true # false 时完全不加载(既不注册路由也不加设置行)