diff options
author | JJ | 2023-11-01 02:41:44 +0000 |
---|---|---|
committer | JJ | 2023-11-01 04:08:53 +0000 |
commit | 696fa18edece20f10d8b276728c55ad712be1da9 (patch) | |
tree | 8d70c0bfde06c781146b6646834613d8b37c0e29 /helix-term/src/keymap | |
parent | 7260812a720336111dc4643c9852e34820745338 (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: sireliah <sajuukk@gmail.com>
Diffstat (limited to 'helix-term/src/keymap')
-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 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<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" |