FakeVim: Don't override "gm" with "m" command

Change-Id: I4e9d8c6780ce4241e6bcbcca6fd7f5b792fa03f1
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hluk
2013-10-17 17:11:06 +02:00
committed by hjk
parent 0e66cf578e
commit be1736f95f

View File

@@ -4032,7 +4032,7 @@ bool FakeVimHandler::Private::handleNoSubMode(const Input &input)
setDotCommand(_("%1J"), count());
} else if (input.isControl('l')) {
// screen redraw. should not be needed
} else if (input.is('m')) {
} else if (!g.gflag && input.is('m')) {
g.subsubmode = MarkSubSubMode;
} else if (isVisualMode() && (input.is('o') || input.is('O'))) {
int pos = position();