Commit 75ce70a8 authored by Carl Simonson's avatar Carl Simonson Committed by hjk

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: default avatarLukas Holecek <hluk@email.cz>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent b0d14c79
......@@ -1325,6 +1325,8 @@ void FakeVimPluginPrivate::windowCommand(const QString &map, int count)
triggerAction(Core::Constants::GOTOPREV);
else if (key == _("S") || key == _("<C-S>"))
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>"))
triggerAction(Core::Constants::GOTO_NEXT_SPLIT);
else if (key.contains(_("RIGHT")) || key == _("L") || key == _("<S-L>"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment