on master help sign in
make replace with clipboard commands exit select mode
commit5913073733b8724d97589ec9999252256708cf3c authorRyan Mehri <ryan.mehri1@gmail.com> dateSun 5 Nov 2023, 08:14 (3 years ago) parent1271a50
1 file changed+2
helix-term/src/commands.rs+2
helix-term/src/commands.rs+2
@@ -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) {