aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorRyan Mehri2023-11-05 16:07:22 +0000
committerMichael Davis2023-11-18 07:07:57 +0000
commit6bf5548dbdfd1df6abe6323bd46b6e051168d94e (patch)
tree8b2b7ff8d586a7c3c03b4e9f86cb8abc69acec3c /helix-term
parent09c78e8b4e36cff0a4c00a0de3fc691dbf0e4873 (diff)
make increment/decrement exit select mode
Diffstat (limited to 'helix-term')
-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);
}
}