diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index d300f848..e73fe2ed 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -984,6 +984,7 @@ fn align_selections(cx: &mut Context) { let transaction = Transaction::change(doc.text(), changes.into_iter()); doc.apply(&transaction, view.id); + exit_select_mode(cx); } fn goto_window(cx: &mut Context, align: Align) {