Skip to content

Commit

Permalink
make increment/decrement exit select mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rmehri01 authored and Vulpesx committed Jun 7, 2024
1 parent 35658e3 commit 968427b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helix-term/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 968427b

Please sign in to comment.