From ca99a51bcaecc6335a269f13953ece800ed68f18 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 6 Oct 2011 21:13:33 +0000 Subject: [PATCH] clear selections after a change --- src/main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cc b/src/main.cc index d17dee2c..020f9805 100644 --- a/src/main.cc +++ b/src/main.cc @@ -476,6 +476,7 @@ void do_change(Window& window, int count) { RegisterManager::instance()['"'] = window.selection_content(); do_insert(window, IncrementalInserter::Mode::Change); + window.clear_selections(); } template