aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorGokul Soumya2022-03-07 07:46:14 +0000
committerGitHub2022-03-07 07:46:14 +0000
commitb0aaf089958f59b3d7a1eb03dbb46db8f9a2b914 (patch)
tree490163616352b31fd21876160b36b0795379e801 /helix-term/src/keymap.rs
parent79caa7b72bef94bd820758b2ebc20887324f7416 (diff)
Change parameter object keybind from `p` to `a` (#1708)
This is largely to avoid a collision with the soon to be merged paragraph object which takes up the p key.
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index a5a615f3..a203b4e2 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -607,7 +607,7 @@ impl Default for Keymaps {
"D" => goto_first_diag,
"f" => goto_prev_function,
"c" => goto_prev_class,
- "p" => goto_prev_parameter,
+ "a" => goto_prev_parameter,
"o" => goto_prev_comment,
"space" => add_newline_above,
},
@@ -616,7 +616,7 @@ impl Default for Keymaps {
"D" => goto_last_diag,
"f" => goto_next_function,
"c" => goto_next_class,
- "p" => goto_next_parameter,
+ "a" => goto_next_parameter,
"o" => goto_next_comment,
"space" => add_newline_below,
},