claude-code-toolkit

Command

/terminal-setup

Installs the keybinding some terminals need for Shift+Enter to insert a newline instead of submitting the message.

Not every terminal forwards Shift+Enter as a distinct key combination by default — some just see it as Enter. /terminal-setup installs the specific keybinding your terminal needs so the two are actually distinguishable.

This is a one-time setup per terminal, not per project — once it's run for a given terminal application, Shift+Enter should work correctly in every session from then on.

If multi-line input still submits early after running this, double-check you're testing in the same terminal application the setup was run in, since the fix is terminal-specific.

/terminal-setup

Frequently asked questions

What does /terminal-setup do in Claude Code?

Installs the keybinding some terminals need for Shift+Enter to insert a newline instead of submitting the message.

How do I use it?

Try: /terminal-setup

Any caveats to know about?

If multi-line input still submits early after running this, double-check you're testing in the same terminal application the setup was run in, since the fix is terminal-specific.

Is this covered in the Claude Code Toolkit?

Yes — /terminal-setup and patterns like it are part of the full command, hook, and template pack included with a Claude Code Toolkit subscription.

Want the full command, hook, and template pack?

This is one pattern out of the full Claude Code Toolkit — subscribe for the complete set, plus everything we add going forward.

Subscribe to the toolkit — $79/mo

← See everything in Explore