lzxcs/dsh-enter-swap ↗★ 0

dsh-enter-swap

Swap the web UI composer shortcuts: Ctrl/Meta+Enter inserts a newline, Shift+Enter sends. 核心用途是交换 Web 界面输入框的发送与换行快捷键。适合习惯使用 Shift+Enter 发送、Ctrl+Enter 换行的用户,改善输入习惯。

패키지
dsh-enter-swap
호환성
미검증
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 8. 26.

같은 패키지 이름의 다른 저장소

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 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 中的注入块。