From 116ea7364ab70703cea4a6fc2ce34c42b99fc13e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 19 Dec 2014 13:45:38 +0000 Subject: Restore some special behaviours, I missed them in interactive mode. --- src/input_handler.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/input_handler.cc') diff --git a/src/input_handler.cc b/src/input_handler.cc index 4cc6d5ee..975e457b 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1016,6 +1016,7 @@ private: if (m_insert_mode == InsertMode::Append and sel.cursor().column > 0) sel.cursor() = context().buffer().char_prev(sel.cursor()); } + selections.avoid_eol(); if (m_disable_hooks) context().user_hooks_support().enable(); -- cgit v1.2.3