mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-07-30 09:59:08 +02:00
Reset key mappings for each test
This commit is contained in:
parent
0225975e20
commit
6ea255f125
@ -130,6 +130,10 @@ public class KeyGroup {
|
||||
return mapping;
|
||||
}
|
||||
|
||||
public void resetKeyMappings() {
|
||||
keyMappings.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the root of the key mapping for the given mapping mode
|
||||
*
|
||||
|
@ -53,6 +53,7 @@ public abstract class VimTestCase extends UsefulTestCase {
|
||||
myFixture.setTestDataPath(getTestDataPath());
|
||||
KeyHandler.getInstance().fullReset(myFixture.getEditor());
|
||||
Options.getInstance().resetAllOptions();
|
||||
VimPlugin.getKey().resetKeyMappings();
|
||||
}
|
||||
|
||||
protected String getTestDataPath() {
|
||||
|
Loading…
Reference in New Issue
Block a user