aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 35f1f0cd..3291d359 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -771,6 +771,9 @@ pub fn delete_selection(cx: &mut Context) {
_delete_selection(doc, view.id);
doc.append_changes_to_history(view.id);
+
+ // exit select mode, if currently in select mode
+ exit_select_mode(cx);
}
pub fn change_selection(cx: &mut Context) {