on master help sign in
make indent/unindent exit select mode
commit34de1cab623c03b2ffdafb54714bc67cbabcf9e9 authorRyan Mehri <ryan.mehri1@gmail.com> dateWed 1 Nov 2023, 08:14 (3 years ago) parent2acf5e3
1 file changed+2
helix-term/src/commands.rs+2
helix-term/src/commands.rs+2
@@ -4207,6 +4207,7 @@ fn indent(cx: &mut Context) {
42074207 }),
42084208 );
42094209 doc.apply(&transaction, view.id);
4210+ exit_select_mode(cx);
42104211}
42114212
42124213fn unindent(cx: &mut Context) {
@@ -4246,6 +4247,7 @@ fn unindent(cx: &mut Context) {
42464247 let transaction = Transaction::change(doc.text(), changes.into_iter());
42474248
42484249 doc.apply(&transaction, view.id);
4250+ exit_select_mode(cx);
42494251}
42504252
42514253fn format_selections(cx: &mut Context) {