summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-05-22 17:04:01 +0100
committerMaxime Coste <mawww@kakoune.org>2017-05-22 17:04:01 +0100
commit7ee3039a79c69325a467118b02b947c9a57b668d (patch)
tree2b46ec7c17c5cd9e8e1c97f04e361cf84912ec67 /src/input_handler.cc
parent28bcb45b925427da1fb3204eac332fc43d74365e (diff)
Do not avoid eol in insert mode vertical movement
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index cdc928e9..f57f0029 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1240,7 +1240,7 @@ private:
const ColumnCount tabstop = context().options()["tabstop"].get<int>();
for (auto& sel : selections)
{
- auto cursor = context().buffer().offset_coord(sel.cursor(), offset, tabstop);
+ auto cursor = context().buffer().offset_coord(sel.cursor(), offset, tabstop, false);
sel.anchor() = sel.cursor() = cursor;
}
selections.sort_and_merge_overlapping();