Unable to search command history in terminal with Ctrl +r
Answered
In Intellij Ultimate, I have a terminal open and normally i use the command `Ctrl + r` to search history and tyep my command (as with any terminal). This is now broken in version 2025.2
Side note all the colours are slightly different shade now too than they used to be.
Please sign in to leave a comment.
Hi,
Thank you for confirming the fix has worked for you.
This was found to be a bug, check this ticket for more details: https://youtrack.jetbrains.com/issue/IJPL-200767. The fix will be deployed in the next minor update: 2025.2.1
Workaround
Disable the
terminal.use.EelApiregistry key and open a new terminal tab. For that, open "Help | Find Action..." and find "Registry..." there.NB! The workaround should not be reverted after installing the next minor update.
Thank you for reporting this.
Can you try enabling “Override IDE Shortcuts” from Settings | Tools | Terminal or changing the terminal engine to "Classic"?
Thanks Petru Basarab I tried both of these and neither of them worked.
In the Settings | Tools | Terminal I had “Override IDE Shortcuts” set to true, and there is also a mapping for search command history in the terminal plugin setting for Ctrl + R. I have had the same settings for this literally for years (maybe 10+).
I ensured there are no clashing shortcuts and disabled the MacOS shortcuts that were mapped to this too.
Switching to Classic had no effect either.
Hi,
Unfortunately, we can't reproduce the issue on our side.
Could you please perform the following steps to help with investigation?
Open Settings | Keymap and filter the tree by the Ctrl+R shortcut. Please attach the screenshot of actions bound to Ctrl+R.
Find Actionfrom the Help menu and searchRegistry. In the Registry dialog disableterminal.use.EelApioption and open the new terminal tab. Does the Ctrl+R action work in this case?Ahh amazing! step 4. here fixed it for me. I disabled the `terminal.use.EelApi` and suddenly its all working again. I had found other stuff that didn't work along the way too eg. using Alt + left/right arrows whilst typing and then editing would barf the command up.
Thanks for the help. What exactly does that option do? (Im unsure whether that fix entails other issues but I guess iI will find out…)
Also when this is fixed will i need to put that setting back on?
Hi,
The workaround should not be reverted after installing the next minor update.
My issue was that F12 was only opening the Terminal, but not closing it. Also the default Shift + Esc would not close it either!
Solved by enabling the option: Settings | Tools | Terminal | “Override IDE Shortcuts”