From ff36c5e4d2cbeda00ddb3ed0e928d8e81038987a Mon Sep 17 00:00:00 2001 From: Ryan Mehri Date: Sun, 5 Nov 2023 08:07:22 -0800 Subject: [PATCH] make increment/decrement exit select mode --- helix-term/src/commands.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 529c3f613ced7..a893f69deda98 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); } }