From 7cf650270c78238b5efd7ea4182205114f53540b Mon Sep 17 00:00:00 2001 From: sireliah Date: Wed, 1 May 2024 13:53:30 -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: JJ --- helix-term/src/keymap/default.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helix-term/src/keymap/default.rs') diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs index fbe2388b..5b165613 100644 --- a/helix-term/src/keymap/default.rs +++ b/helix-term/src/keymap/default.rs @@ -328,6 +328,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