diff options
author | Ryan Mehri | 2023-11-01 15:14:17 +0000 |
---|---|---|
committer | Michael Davis | 2023-11-18 07:07:57 +0000 |
commit | 34de1cab623c03b2ffdafb54714bc67cbabcf9e9 (patch) | |
tree | 73b2f8331425445e6fb75bf33b4e5618193761c3 /helix-term | |
parent | 2acf5e365e3a24ef244665435824ccb1abbef80a (diff) |
make indent/unindent exit select mode
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/commands.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 648aa96e..7f9e9d01 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -4207,6 +4207,7 @@ fn indent(cx: &mut Context) { }), ); doc.apply(&transaction, view.id); + exit_select_mode(cx); } fn unindent(cx: &mut Context) { @@ -4246,6 +4247,7 @@ fn unindent(cx: &mut Context) { let transaction = Transaction::change(doc.text(), changes.into_iter()); doc.apply(&transaction, view.id); + exit_select_mode(cx); } fn format_selections(cx: &mut Context) { |