From fa3aa3c1a34b80efc7680939c4c65496dc91a54f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 15 Feb 2021 09:01:14 +1100 Subject: Add + key to duplicate selections and to merge overlapping ones This is an experiment and might get reverted if overlapping selections prove too cumbersome. Fixes #4041 --- src/input_handler.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/input_handler.cc') 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(); } -- cgit v1.2.3