@@ -4144,10 +4144,12 @@ fn replace_with_yanked_impl(editor: &mut Editor, register: char, count: usize) {
41444144
41454145fn replace_selections_with_clipboard(cx: &mut Context) {
41464146 replace_with_yanked_impl(cx.editor, '+', cx.count());
4147+ exit_select_mode(cx);
41474148}
41484149
41494150fn replace_selections_with_primary_clipboard(cx: &mut Context) {
41504151 replace_with_yanked_impl(cx.editor, '*', cx.count());
4152+ exit_select_mode(cx);
41514153}
41524154
41534155fn paste(editor: &mut Editor, register: char, pos: Paste, count: usize) {