on master help sign in
make indent/unindent exit select mode
34de1caRyan Mehri
helix-term/src/commands.rs+2
@@ -4207,6 +4207,7 @@ fn indent(cx: &mut Context) {
4207 }),
4207 }),
4208 );
4208 );
4209 doc.apply(&transaction, view.id);
4209 doc.apply(&transaction, view.id);
4210+ exit_select_mode(cx);
4210}
4211}
4211
4212
4212fn unindent(cx: &mut Context) {
4213fn unindent(cx: &mut Context) {
@@ -4246,6 +4247,7 @@ fn unindent(cx: &mut Context) {
4246 let transaction = Transaction::change(doc.text(), changes.into_iter());
4247 let transaction = Transaction::change(doc.text(), changes.into_iter());
4247
4248
4248 doc.apply(&transaction, view.id);
4249 doc.apply(&transaction, view.id);
4250+ exit_select_mode(cx);
4249}
4251}
4250
4252
4251fn format_selections(cx: &mut Context) {
4253fn format_selections(cx: &mut Context) {