forked from qt-creator/qt-creator
FakeVim: Don't override "gm" with "m" command
Change-Id: I4e9d8c6780ce4241e6bcbcca6fd7f5b792fa03f1 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -4032,7 +4032,7 @@ bool FakeVimHandler::Private::handleNoSubMode(const Input &input)
|
|||||||
setDotCommand(_("%1J"), count());
|
setDotCommand(_("%1J"), count());
|
||||||
} else if (input.isControl('l')) {
|
} else if (input.isControl('l')) {
|
||||||
// screen redraw. should not be needed
|
// screen redraw. should not be needed
|
||||||
} else if (input.is('m')) {
|
} else if (!g.gflag && input.is('m')) {
|
||||||
g.subsubmode = MarkSubSubMode;
|
g.subsubmode = MarkSubSubMode;
|
||||||
} else if (isVisualMode() && (input.is('o') || input.is('O'))) {
|
} else if (isVisualMode() && (input.is('o') || input.is('O'))) {
|
||||||
int pos = position();
|
int pos = position();
|
||||||
|
|||||||
Reference in New Issue
Block a user