diff --git a/book/src/keymap.md b/book/src/keymap.md index 2abe4f74..77682a38 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -111,10 +111,10 @@ | `K` | Keep selections matching the regex | `keep_selections` | | `Alt-K` | Remove selections matching the regex | `remove_selections` | | `Ctrl-c` | Comment/uncomment the selections | `toggle_comments` | -| `Alt-k`, `Alt-up` | Expand selection to parent syntax node (**TS**) | `expand_selection` | -| `Alt-j`, `Alt-down` | Shrink syntax tree object selection (**TS**) | `shrink_selection` | -| `Alt-h`, `Alt-left` | Select previous sibling node in syntax tree (**TS**) | `select_prev_sibling` | -| `Alt-l`, `Alt-right` | Select next sibling node in syntax tree (**TS**) | `select_next_sibling` | +| `Alt-o`, `Alt-up` | Expand selection to parent syntax node (**TS**) | `expand_selection` | +| `Alt-i`, `Alt-down` | Shrink syntax tree object selection (**TS**) | `shrink_selection` | +| `Alt-p`, `Alt-left` | Select previous sibling node in syntax tree (**TS**) | `select_prev_sibling` | +| `Alt-n`, `Alt-right` | Select next sibling node in syntax tree (**TS**) | `select_next_sibling` | ### Search diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs index 10a43d12..da5127b2 100644 --- a/helix-term/src/keymap/default.rs +++ b/helix-term/src/keymap/default.rs @@ -79,10 +79,10 @@ pub fn default() -> HashMap { "S" => split_selection, ";" => collapse_selection, "A-;" => flip_selections, - "A-k" | "A-up" => expand_selection, - "A-j" | "A-down" => shrink_selection, - "A-h" | "A-left" => select_prev_sibling, - "A-l" | "A-right" => select_next_sibling, + "A-o" | "A-up" => expand_selection, + "A-i" | "A-down" => shrink_selection, + "A-p" | "A-left" => select_prev_sibling, + "A-n" | "A-right" => select_next_sibling, "%" => select_all, "x" => extend_line,