aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap
diff options
context:
space:
mode:
authornosa2022-12-06 01:13:41 +0000
committerGitHub2022-12-06 01:13:41 +0000
commit7210c58a51a16c0ae3c9d77211ed1a25e039bd9e (patch)
treee56f7bdd7e7a37a48e5af1bf381a7d1b7ef03727 /helix-term/src/keymap
parent5691ada822a7c6e27f8890ee25f52a9262caddd2 (diff)
Change default TS object bindings (#3782)
* Change default TS object bindings Changes 'match inside/around' bindings for: - type definition from `c` to `t` - comments from `o` to `c` - tests from `t` to `T` Also changes those for the `]` / `[` bindings. * Update docs for changed keybinds Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'helix-term/src/keymap')
-rw-r--r--helix-term/src/keymap/default.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs
index c0d17a87..b6d9ea10 100644
--- a/helix-term/src/keymap/default.rs
+++ b/helix-term/src/keymap/default.rs
@@ -101,10 +101,10 @@ pub fn default() -> HashMap<Mode, Keymap> {
"d" => goto_prev_diag,
"D" => goto_first_diag,
"f" => goto_prev_function,
- "c" => goto_prev_class,
+ "t" => goto_prev_class,
"a" => goto_prev_parameter,
- "o" => goto_prev_comment,
- "t" => goto_prev_test,
+ "c" => goto_prev_comment,
+ "T" => goto_prev_test,
"p" => goto_prev_paragraph,
"space" => add_newline_above,
},
@@ -112,10 +112,10 @@ pub fn default() -> HashMap<Mode, Keymap> {
"d" => goto_next_diag,
"D" => goto_last_diag,
"f" => goto_next_function,
- "c" => goto_next_class,
+ "t" => goto_next_class,
"a" => goto_next_parameter,
- "o" => goto_next_comment,
- "t" => goto_next_test,
+ "c" => goto_next_comment,
+ "T" => goto_next_test,
"p" => goto_next_paragraph,
"space" => add_newline_below,
},