summaryrefslogtreecommitdiff
path: root/helix-term/src/keymap/default.rs
diff options
context:
space:
mode:
authorMichael Davis2022-04-24 01:48:22 +0000
committerGitHub2022-04-24 01:48:22 +0000
commit3f2bd7770e9cdbb57c139ef950e2d63ccf8ac674 (patch)
tree67f36c5a5db66565dd66c145980dad9ee5692bc0 /helix-term/src/keymap/default.rs
parent5ca8dfe57c044227274b73f9169ae68cebf1d074 (diff)
Rename paragraph motion commands from move to goto (#2226)
* fix command name for next/prev paragraph motion * rename move_next/prev_paragraph to goto_next/prev_paragraph
Diffstat (limited to 'helix-term/src/keymap/default.rs')
-rw-r--r--helix-term/src/keymap/default.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs
index 18ebbcfe..10a43d12 100644
--- a/helix-term/src/keymap/default.rs
+++ b/helix-term/src/keymap/default.rs
@@ -104,7 +104,7 @@ pub fn default() -> HashMap<Mode, Keymap> {
"c" => goto_prev_class,
"a" => goto_prev_parameter,
"o" => goto_prev_comment,
- "p" => move_prev_paragraph,
+ "p" => goto_prev_paragraph,
"space" => add_newline_above,
},
"]" => { "Right bracket"
@@ -114,7 +114,7 @@ pub fn default() -> HashMap<Mode, Keymap> {
"c" => goto_next_class,
"a" => goto_next_parameter,
"o" => goto_next_comment,
- "p" => move_next_paragraph,
+ "p" => goto_next_paragraph,
"space" => add_newline_below,
},