forked from qt-creator/qt-creator
Add commands :AS and :AV
Change-Id: I1f4111fe1b613d78ead4928b48a37cf39882bbb5 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1575,6 +1575,12 @@ void FakeVimPluginPrivate::handleExCommand(bool *handled, const ExCommand &cmd)
|
|||||||
// :on[ly]
|
// :on[ly]
|
||||||
//triggerAction(Core::Constants::REMOVE_ALL_SPLITS);
|
//triggerAction(Core::Constants::REMOVE_ALL_SPLITS);
|
||||||
triggerAction(Core::Constants::REMOVE_CURRENT_SPLIT);
|
triggerAction(Core::Constants::REMOVE_CURRENT_SPLIT);
|
||||||
|
} else if (cmd.cmd == "AS") {
|
||||||
|
triggerAction(Core::Constants::SPLIT);
|
||||||
|
triggerAction(CppTools::Constants::SWITCH_HEADER_SOURCE);
|
||||||
|
} else if (cmd.cmd == "AV") {
|
||||||
|
triggerAction(Core::Constants::SPLIT_SIDE_BY_SIDE);
|
||||||
|
triggerAction(CppTools::Constants::SWITCH_HEADER_SOURCE);
|
||||||
} else {
|
} else {
|
||||||
// Check whether one of the configure commands matches.
|
// Check whether one of the configure commands matches.
|
||||||
typedef ExCommandMap::const_iterator Iterator;
|
typedef ExCommandMap::const_iterator Iterator;
|
||||||
|
|||||||
Reference in New Issue
Block a user