diff --git a/book/src/keymap.md b/book/src/keymap.md index 71ae5e31f..40a9aadc8 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -127,7 +127,7 @@ ### Selection manipulation | `,` | Keep only the primary selection | `keep_primary_selection` | | `Alt-,` | Remove the primary selection | `remove_primary_selection` | | `C` | Copy selection onto the next line (Add cursor below) | `copy_selection_on_next_line` | -| `Alt-C` | Copy selection onto the previous line (Add cursor above) | `copy_selection_on_prev_line` | +| `D` | Copy selection onto the previous line (Add cursor above) | `copy_selection_on_prev_line` | | `(` | Rotate main selection backward | `rotate_selections_backward` | | `)` | Rotate main selection forward | `rotate_selections_forward` | | `Alt-(` | Rotate selection contents backward | `rotate_selection_contents_backward` | diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs index 5a3e8eed4..9476e070d 100644 --- a/helix-term/src/keymap/default.rs +++ b/helix-term/src/keymap/default.rs @@ -75,7 +75,7 @@ pub fn default() -> HashMap { "A-c" => change_selection_noyank, "C" => copy_selection_on_next_line, - "A-C" => copy_selection_on_prev_line, + "D" => copy_selection_on_prev_line, "s" => select_regex,