Replies: 13 comments 2 replies
-
I dont think this is JetBrains specific. You'll see the same behaviour if you open codex via the MacOS Terminal app. The shortcut for a new line is ctrl-j. I would love a way to change this because the muscle memory is strong. |
Beta Was this translation helpful? Give feedback.
-
Running Claude Code and Codex side by side. Ctrl+J feels impossible. Configurability would be awesome. |
Beta Was this translation helpful? Give feedback.
-
Yea Ctrl+J is a wild design choice. Makes codex fundamentally unusable right now. |
Beta Was this translation helpful? Give feedback.
-
Running codex inside tmux in Wezterm on Mac. Shift+Enter runs the command. Ctrl+J is my tmux prefix 🤦 |
Beta Was this translation helpful? Give feedback.
-
Really hoping this gets updated, I keep on accidentally submitting half-baked thoughts due to my shift+enter muscle memory. |
Beta Was this translation helpful? Give feedback.
-
Please make it Shift + Enter, or configurable. Like everyone else here, I keep submitting half-baked messages which drives me insane. Don't fight our collective muscle memory; ctrl-j is a terrible choice IMHO. |
Beta Was this translation helpful? Give feedback.
-
Agreed on it being a wild design decision. But if you are on WSL, here is a workaround that works for me. (And there are probably similar techniques for other terminals).
So a minimal settings.json could look like:
|
Beta Was this translation helpful? Give feedback.
-
Same, love Codex, especially after new updates, but Ctrl + J feels like learning to play Piano. Please make it adjustable! Or change to Shift - Enter |
Beta Was this translation helpful? Give feedback.
-
Definitely change to Shift + Enter. |
Beta Was this translation helpful? Give feedback.
-
You can do this with Alt + Enter (on linux at least) |
Beta Was this translation helpful? Give feedback.
-
You can add a new line with Alt + Enter (on linux at least) |
Beta Was this translation helpful? Give feedback.
-
this is unbelievably stupid!! |
Beta Was this translation helpful? Give feedback.
-
I've been following this issue for three versions, but it still hasn't been fixed as of v0.47.0. Apparently, they consider it a feature rather than a bug. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm encountering a keybinding issue within the IntelliJ integrated terminal, specifically when I'm using an interactive CLI tool like codex.
My goal is to input a multi-line command. In many other terminal applications, pressing Shift + Enter inserts a newline, allowing me to continue writing the command on the next line.
However, when I press Shift + Enter inside the IntelliJ terminal, it behaves exactly like pressing Enter on its own—it immediately executes the current line as a command.
This makes it very difficult to work with multi-line inputs in tools that require them.
I've already looked through the Settings > Keymap to see if Shift + Enter is bound to a conflicting action, but I couldn't find anything obvious that targets the terminal specifically.
Has anyone else faced this issue? Is there a specific setting in IntelliJ's terminal configuration or a keymap override that I can apply to make Shift + Enter function as a simple newline character?
Any help or guidance would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions