3

-- UPDATE --

the new version of ideaVim plugin fixed this issue already.

I'm using PhpStorm under ubuntu with ideaVim plugin.

One thing annoying me is when I edit in the popup windows such as show diff editor I need to press Escape to switch to Vim normal mode, but the popup window still gets closed.

I can't find any settings to change or disable Escape key mapping in PhpStorm for closing the popups.

Lei Cao
  • 457
  • 6
  • 13
  • See https://github.com/JetBrains/ideavim#escape, http://youtrack.jetbrains.com/issue/VIM-193, http://youtrack.jetbrains.com/issue/VIM-424. – CrazyCoder Aug 28 '13 at 11:22

2 Answers2

2

You can use Ctrlc instead of ESC to switch Vim to normal mode. Also, as of version 0.33, you can now add new mappings in your ~/.vimrc, so you can for example inoremap jk <ESC> inoremap kj <ESC> and then use the jk chord to exit insert mode.

jbyler
  • 7,200
  • 3
  • 34
  • 42
0

the new version of ideaVim plugin fixed this issue already.

Lei Cao
  • 457
  • 6
  • 13