From 8f20646309459fb00ae81b6ca776136135faaabc Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Fri, 11 Feb 2011 10:59:19 +0000 Subject: [PATCH] Add commands :AS and :AV Change-Id: I1f4111fe1b613d78ead4928b48a37cf39882bbb5 Reviewed-by: hjk --- src/plugins/fakevim/fakevimplugin.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index 9e31c05ee5d..1f98f21570c 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -1575,6 +1575,12 @@ void FakeVimPluginPrivate::handleExCommand(bool *handled, const ExCommand &cmd) // :on[ly] //triggerAction(Core::Constants::REMOVE_ALL_SPLITS); 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 { // Check whether one of the configure commands matches. typedef ExCommandMap::const_iterator Iterator;