diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index e73fe2ed6..a783fc683 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1528,6 +1528,7 @@ fn switch_case_impl(cx: &mut Context, change_fn: F) }); doc.apply(&transaction, view.id); + exit_select_mode(cx); } fn switch_case(cx: &mut Context) {