summaryrefslogtreecommitdiff
path: root/src/plugins/fakevim/fakevimhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fakevim/fakevimhandler.cpp')
-rw-r--r--src/plugins/fakevim/fakevimhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp
index 97393c43fa..68ceafac3f 100644
--- a/src/plugins/fakevim/fakevimhandler.cpp
+++ b/src/plugins/fakevim/fakevimhandler.cpp
@@ -2209,7 +2209,7 @@ EventResult FakeVimHandler::Private::handleCommandMode1(const Input &input)
if (isNoVisualMode()) {
m_submode = ShiftLeftSubMode;
} else {
- shiftRegionLeft(1);
+ shiftRegionLeft(count());
leaveVisualMode();
}
} else if (input.is('>')) {
@@ -2217,7 +2217,7 @@ EventResult FakeVimHandler::Private::handleCommandMode1(const Input &input)
if (isNoVisualMode()) {
m_submode = ShiftRightSubMode;
} else {
- shiftRegionRight(1);
+ shiftRegionRight(count());
leaveVisualMode();
}
} else if (input.is('=')) {