Problem
Press a shortcut in the terminal, and get no effect, or escape characters typed (;7u). The same shortcut works when the focus is in a file tab.
The terminal can be the Terminal tool window, a terminal opened as an editor tab, or an agent session of Air that runs a command-line agent such as Claude Code in a terminal.
Cause
The terminal option Override IDE shortcuts in Settings | Tools | Terminal is on by default. With the option on, the terminal sends every key press to the shell or to the program that runs in it, except the shortcuts of a fixed list of IDE actions.
Resolution
1. When using Alt+Left and Alt+Right
Use Alt+Down instead, it invokes "Show List of Tabs" action
2. When using Ctrl+E for Recent files
Plain Ctrl+E is sent to the shell on purpose, because shells use it to move the cursor to the end of the line. Workaround to change it:
- Press Ctrl+Shift+A, type
Registry, and open Registry.... - Find the key
terminal.Ctrl-E.opens.RecentFiles.popupand select its checkbox. - Close the dialog. No restart is needed.
3. Let the IDE handle every shortcut
When the terminal runs a plain shell and no program that needs its own key combinations, turn the option off:
- Open Settings | Tools | Terminal.
- Clear Override IDE shortcuts.
- Click OK.
- Move the focus out of the terminal and back.
With the option off, every key combination that has an IDE shortcut runs the IDE action, and the shell receives only the keys that have none.
Comments
0 comments
Please sign in to leave a comment.