Unnamed repository; edit this file 'description' to name the repository.
make increment/decrement exit select mode
Ryan Mehri 2023-11-18
parent 09c78e8 · commit 6bf5548
-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 a783fc68..f1d1df06 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -5684,6 +5684,7 @@ fn increment_impl(cx: &mut Context, increment_direction: IncrementDirection) {
let transaction = Transaction::change(doc.text(), changes.into_iter());
let transaction = transaction.with_selection(new_selection);
doc.apply(&transaction, view.id);
+ exit_select_mode(cx);
}
}