lzxcs/dsh-enter-swap0

dsh-enter-swap

Swap the web UI composer shortcuts: Ctrl/Meta+Enter inserts a newline, Shift+Enter sends.

AI Analysis

核心用途是交换 Web 界面输入框的发送与换行快捷键。适合习惯使用 Shift+Enter 发送、Ctrl+Enter 换行的用户,改善输入习惯。

Package
dsh-enter-swap
Version
1.0.0
License
MIT
Last updated
Aug 26, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

dsh-enter-swap

Swap the web UI composer shortcuts: Ctrl/Meta+Enter inserts a newline, Shift+Enter sends.

安装(Install)

需要 DSH(DeepSeek Harness)与 web profile(dsh web):

# 1. 安装插件(pnpm git 依赖)
dsh plugin --profile web add github:lzxcs/dsh-enter-swap
# 2. 在 ~/.dsh/profiles/web/cordis.patch.yml 末尾追加注入块:
- insert:
    - id: dsh-enter-swap
      name: 'dsh-enter-swap'
# 3. 重启 DSH Web(托盘菜单 → DSH Web 重启),浏览器 Ctrl+F5 刷新页面

卸载:dsh plugin --profile web remove dsh-enter-swap,并删掉 cordis.patch.yml 中的注入块。