diff options
author | sireliah | 2024-05-01 20:53:30 +0000 |
---|---|---|
committer | JJ | 2024-05-01 23:06:27 +0000 |
commit | 7cf650270c78238b5efd7ea4182205114f53540b (patch) | |
tree | 4c70d2a0cc949c41c3fd6fc7cb3358978b86a279 /helix-term/src/keymap/default.rs | |
parent | 0a08d7eb5e5049dee8804dffcb110d7d27503810 (diff) |
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 <git@toki.la>
Diffstat (limited to 'helix-term/src/keymap/default.rs')
-rw-r--r-- | helix-term/src/keymap/default.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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<Mode, KeyTrie> { "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" |