summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2021-02-15 09:01:14 +1100
committerMaxime Coste <mawww@kakoune.org>2021-02-15 09:01:14 +1100
commitfa3aa3c1a34b80efc7680939c4c65496dc91a54f (patch)
tree805c8dae887f24a75ad13b1dbc9683646043ebde /src/input_handler.cc
parentdea44e4964e97d29b9a9ec493fec02b3d41e5345 (diff)
Add + key to duplicate selections and <a-+> to merge overlapping ones
This is an experiment and might get reverted if overlapping selections prove too cumbersome. Fixes #4041
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index a287b2db..e2c1bb17 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1555,8 +1555,6 @@ private:
kak_assert(false); // invalid for interactive insert
break;
}
- if (mode != InsertMode::Append and mode != InsertMode::Replace)
- selections.sort_and_merge_overlapping();
selections.check_invariant();
buffer.check_invariant();
}