dsh-enter-send
Run the following command in DeepSeek Harness:
dsh plugin install Nalleyer/dsh-enter-send
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Nalleyer/dsh-enter-send in your terminal to install the plugin from GitHub (https://github.com/Nalleyer/dsh-enter-send); the build runs automatically during installation, and the change takes effect after restarting dsh web.
About this plugin
Writing a multi-line message in DeepSeek Harness, there is nothing more infuriating than hitting Enter to go to a new line and watching the message fly out before you finished. dsh defaults to Enter-to-send and Shift+Enter-to-newline, which works fine for quick replies, but if you are used to Ctrl/Cmd+Enter to send (like Slack or Telegram) and plain Enter to insert a line break, every long message becomes a dance with the Shift key. dsh-enter-send adds a single "Send hotkey" dropdown under Settings → General, letting you swap between Enter-send and Ctrl/Cmd+Enter-send with one click.
Under the hood it is not just a key remap. The plugin listens on the document capture phase, identifies the composer textarea via its data-phase attribute, and dispatches a synthetic unmodified Enter keydown so the native React composer submission pipeline runs end-to-end—drafts, attachments, send queue, and busy arbitration are all reused, with no re-implementation. Newline insertion goes through document.execCommand("insertText", "\n"), the same path as Shift+Enter. Crucially, every Enter pressed during IME composition (isComposing or keyCode === 229) is let through, so CJK input candidates never trigger an accidental send.
Your choice is persisted to $DSH_HOME/settings.yaml (namespace enter-send.mode) and mirrored to browser localStorage as a fallback, restoring automatically after a Web restart. The default is enter, identical to stock dsh behavior, so upgrading is seamless. This plugin is ideal for anyone who frequently composes multi-line messages in dsh and prefers Ctrl/Cmd+Enter as the send key, especially heavy CJK IME users.
Use Cases
- Inserting newlines with Enter while reserving Ctrl/Cmd+Enter for sending in multi-line messages
- Pressing Enter during CJK IME composition without accidentally sending the draft
- Switching the send hotkey in Settings and having it persist automatically after restarting the Web UI
Best For
- Users who prefer Ctrl/Cmd+Enter to send and plain Enter to break lines
- Developers who frequently compose multi-line messages in dsh
- Daily CJK (Chinese/Japanese/Korean) IME users
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.