Terminal - Unable to remap "Switch Focus To Editor"
已回答
I'm unable to remap Switch Focus To Editor in the Terminal plugin. Esc works fine, but since I'm using vi_mode in Zsh and Esc switches from Insert to Normal mode I'd like to remap to something else. I have tried configuring these three shortcuts but Esc seems to be the key working:
Settings | Keymap | Plug-ins | Terminal | Switch Focus to Editor
Settings | Keymap | Editor Actions | Focus Editor
Settings | Keymap | Editor Actions | Escape
Is this something that should be possible to do?
- Andreas
请先登录再写评论。
> Settings | Keymap | Plug-ins | Terminal | Switch Focus to Editor
Changing the shortcut in this way should help. Make sure that the assigned shortcut does not conflict with others. Here is a related implemented feature request https://youtrack.jetbrains.com/issue/IDEA-116865 .
For checking the shortcut we can use `Find Actions by Shortcut` feature:
I've tried rebinding like this but the only key that seems to work is the Escape-key. Not sure if this is a Mac related issue or because I'm using Zsh or something else. 🤔
I was able to resolve this by moving away from the integrated terminal and instead using a window manager and splitting my view horizontally. This allows me to use my terminal of choice, while still being able to navigate back and forth between IntelliJ and the terminal with system keyboard shortcuts or window manager specific ones.