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 dgkf committed Jan 30, 2024
1 parent b079501 commit 9a6bde8
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 9a6bde8

Please sign in to comment.