diff options
author | Blaž Hrastnik | 2021-03-22 08:58:49 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-03-22 08:58:49 +0000 |
commit | 73c92a0bc1499f02092a7425c45d4992f4e573a1 (patch) | |
tree | 1de38a0f16e3acd44998b1f8368df726a7962e0c /helix-term/src/keymap.rs | |
parent | bd607b4cbd58e2bff06e36f614ff61b7d1a721c3 (diff) |
Implement m / match_brackets (using tree sitter).
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r-- | helix-term/src/keymap.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index 1f34aa9e..bd1b31ef 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -182,6 +182,9 @@ pub fn default() -> Keymaps { // or select mode X? // extend_to_whole_line, crop_to_whole_line + + key!('m') => commands::match_brackets, + // TODO: refactor into // key!('m') => commands::select_to_matching, // key!('M') => commands::back_select_to_matching, // select mode extend equivalents |