aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
authorGokul Soumya2021-06-21 18:55:41 +0000
committerBlaž Hrastnik2021-06-22 05:27:51 +0000
commitb79b5e66f2c4d215aaad224fde139c00bf686d20 (patch)
tree949d4a726ee8f72bd558b696ee0b06d1afbf9d27 /helix-term/src/commands.rs
parent86271bac18ac4503187986f1c2f5bcebc657acdf (diff)
Move match_bracket to mm
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index b530e30b..f1101ad4 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1907,7 +1907,6 @@ fn goto_mode(cx: &mut Context) {
match (doc.mode, ch) {
(_, 'g') => move_file_start(cx),
(_, 'e') => move_file_end(cx),
- (_, 'm') => match_brackets(cx),
(_, 'a') => switch_to_last_accessed_file(cx),
(Mode::Normal, 'h') => move_line_start(cx),
(Mode::Normal, 'l') => move_line_end(cx),
@@ -3324,6 +3323,7 @@ fn surround(cx: &mut Context) {
// FIXME: count gets reset because of cx.on_next_key()
cx.count = count;
match ch {
+ 'm' => match_brackets(cx),
'a' => surround_add(cx),
'r' => surround_replace(cx),
'd' => {