From 696fa18edece20f10d8b276728c55ad712be1da9 Mon Sep 17 00:00:00 2001 From: JJ Date: Tue, 31 Oct 2023 19:41:44 -0700 Subject: Add support for moving selections above and below ref: https://github.com/helix-editor/helix/issues/2245 ref: https://github.com/helix-editor/helix/pull/4545 Co-authored-by: sireliah --- helix-term/src/keymap/default.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helix-term/src/keymap') diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs index 58e8fdad..9b93c573 100644 --- a/helix-term/src/keymap/default.rs +++ b/helix-term/src/keymap/default.rs @@ -324,6 +324,8 @@ pub fn default() -> HashMap { "C-a" => increment, "C-x" => decrement, + "C-k" => move_selection_above, + "C-j" => move_selection_below, }); let mut select = normal.clone(); select.merge_nodes(keymap!({ "Select mode" -- cgit v1.2.3-70-g09d2