aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Mehri2023-11-05 16:18:58 +0000
committerMichael Davis2023-11-18 07:07:57 +0000
commitd4a0eba1a7de3961a321e5220376c61634ec8cc4 (patch)
tree4b14109ceae8e50a9a7b17fc70c6fac2529e29b6
parent5913073733b8724d97589ec9999252256708cf3c (diff)
make align exit select mode
-rw-r--r--helix-term/src/commands.rs1
1 files changed, 1 insertions, 0 deletions
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) {