forked from qt-creator/qt-creator
FakeVim: Add another key binding for vsplit
Vim allows for spliting veritcally by typing <C-W><C-V>. Add this keybinding. Change-Id: I7db5a8cd06eea05b011655ec326b3795f0896ed9 Reviewed-by: Lukas Holecek <hluk@email.cz> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -1325,6 +1325,8 @@ void FakeVimPluginPrivate::windowCommand(const QString &map, int count)
|
|||||||
triggerAction(Core::Constants::GOTOPREV);
|
triggerAction(Core::Constants::GOTOPREV);
|
||||||
else if (key == _("S") || key == _("<C-S>"))
|
else if (key == _("S") || key == _("<C-S>"))
|
||||||
triggerAction(Core::Constants::SPLIT);
|
triggerAction(Core::Constants::SPLIT);
|
||||||
|
else if (key == _("V") || key == _("<C-V>"))
|
||||||
|
triggerAction(Core::Constants::SPLIT_SIDE_BY_SIDE);
|
||||||
else if (key == _("W") || key == _("<C-W>"))
|
else if (key == _("W") || key == _("<C-W>"))
|
||||||
triggerAction(Core::Constants::GOTO_NEXT_SPLIT);
|
triggerAction(Core::Constants::GOTO_NEXT_SPLIT);
|
||||||
else if (key.contains(_("RIGHT")) || key == _("L") || key == _("<S-L>"))
|
else if (key.contains(_("RIGHT")) || key == _("L") || key == _("<S-L>"))
|
||||||
|
Reference in New Issue
Block a user