AI Agent Hub
Back to plugins
🖥️

dsh-enter-send

Client Updated 2026.08.17

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