{
if (!keysDisabled){
logger.debug(
"Disabling conflicting keybindings while vim editor is focused: " +
Arrays.toString(keys));
BindingManager localChangeManager = getLocalChangeManager();
String schemeId = localChangeManager.getActiveScheme().getId();
for(KeySequence keySequence : keySequences){
for (String contextId : CONTEXT_IDS){
localChangeManager.removeBindings(
keySequence, schemeId, contextId, null, null, null, Binding.USER);
localChangeManager.addBinding(new KeyBinding(
keySequence, null, schemeId, contextId,
null, null, null, Binding.USER));
}
}
keysDisabled = true;