Commit e7e0ead0 authored by hjk's avatar hjk

fakevim: implement :only

parent cc3df924
......@@ -980,6 +980,9 @@ void FakeVimPluginPrivate::handleExCommand(bool *handled, const ExCommand &cmd)
|| cmd.cmd == "bN" || cmd.cmd == "bNext") {
// :bp[revious]
switchToFile(currentFile() - cmd.count);
} else if (cmd.cmd == "on" || cmd.cmd == "only") {
//triggerAction(Core::Constants::REMOVE_ALL_SPLITS);
triggerAction(Core::Constants::REMOVE_CURRENT_SPLIT);
} else {
// Check whether one of the configure commands matches.
typedef CommandMap::const_iterator Iterator;
......
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