diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index fae80d470a5..443b36f4d9f 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -1677,13 +1677,13 @@ void FakeVimPluginPrivate::editorOpened(IEditor *editor) triggerAction(Core::Constants::SPLIT_SIDE_BY_SIDE); else if (key == "W" || key == "") triggerAction(Core::Constants::GOTO_NEXT_SPLIT); - else if (key.contains("RIGHT") || key == "L" || key == "") + else if (key.contains("RIGHT") || key == "L" || key == "" || key == "") moveSomewhere(handler, &moveRightWeight, key == "" ? -1 : count); - else if (key.contains("LEFT") || key == "H" || key == "") + else if (key.contains("LEFT") || key == "H" || key == "" || key == "") moveSomewhere(handler, &moveLeftWeight, key == "" ? -1 : count); - else if (key.contains("UP") || key == "K" || key == "") + else if (key.contains("UP") || key == "K" || key == "" || key == "") moveSomewhere(handler, &moveUpWeight, key == "" ? -1 : count); - else if (key.contains("DOWN") || key == "J" || key == "") + else if (key.contains("DOWN") || key == "J" || key == "" || key == "") moveSomewhere(handler, &moveDownWeight, key == "" ? -1 : count); else qDebug() << "UNKNOWN WINDOW COMMAND: " << map;