Command reference ยท Cursor CLI
/setup-terminal
Configures terminal newline keybindings to match the detected terminal.
/setup-terminal automatically sets up newline keybindings (e.g. Option+Enter) to match the detected terminal program.
โ WHEN TO USE IT?
Comfortably write multi-line prompts
/setup-terminal โ run once after installation
โ WHEN NOT TO?
The terminal program doesn't support the reconfiguration
Not every terminal allows automatically setting such keybindings.
Better: Configure newline keybindings manually in the terminal program
SOURCES
- Cursor Docs โ Slash Commands โ cursor.com