Replies: 24 comments 9 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.
-
|
What is status on this issue? |
Beta Was this translation helpful? Give feedback.
-
|
Was wondering about this too, im on a Mac - cant go to next line....should be configurable for us. or at least give us a shortcut. |
Beta Was this translation helpful? Give feedback.
-
|
why ctrl + j ....? |
Beta Was this translation helpful? Give feedback.
-
|
Such a shame - this is extremely user-unfriendly behavior to expect users to press wildly unusual |
Beta Was this translation helpful? Give feedback.
-
|
Considering that Claude Code does Shift+Enter this just fine, I'd expect the same with Codex. The lack of this shortcut drives me crazy. |
Beta Was this translation helpful? Give feedback.
-
|
Upvote for Shift-Enter. Frankly I don't care about historical reasons here. |
Beta Was this translation helpful? Give feedback.
-
|
Related: #3049 This issue might need to be retagged |
Beta Was this translation helpful? Give feedback.
-
|
+1 Potential workaround in Windows using AutoHotkey v2 for folks experiencing issues: #HotIf WinGetProcessName("WindowsTerminal.exe")
+Enter::^j ;Maps Shift+Enter to Ctrl+J |
Beta Was this translation helpful? Give feedback.
-
|
Please? |
Beta Was this translation helpful? Give feedback.
-
|
Using Warp is a workaround (https://warp.dev) - shift+enter works as expected when running Codex or Claude Code |
Beta Was this translation helpful? Give feedback.
-
|
If you use Wezterm, this could help: |
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