mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-03-01 04:46:02 +01:00
EA-32923 - SIOOBE: VimKeyMapUtil.installKeyBoardBindings
This commit is contained in:
parent
a6701a8178
commit
d2fc2f354f
@ -64,7 +64,7 @@ public class VimKeyMapUtil {
|
||||
String keymapPath = PathManager.getPluginsPath() + File.separatorChar + IDEAVIM_NOTIFICATION_TITLE + File.separatorChar + VIM_XML;
|
||||
File vimKeyMapFile = new File(keymapPath);
|
||||
// Look in development path
|
||||
if (!vimKeyMapFile.exists() || !vimKeyMapFile.isFile()) {
|
||||
if ((!vimKeyMapFile.exists() || !vimKeyMapFile.isFile()) && ApplicationManagerEx.getApplicationEx().isInternal()) {
|
||||
final String resource = VimKeyMapUtil.class.getResource("").toString();
|
||||
keymapPath = resource.toString().substring("file:".length(), resource.indexOf("out")) + "community/plugins/ideavim/keymap/" + VIM_XML;
|
||||
vimKeyMapFile = new File(keymapPath);
|
||||
|
Loading…
Reference in New Issue
Block a user