summaryrefslogtreecommitdiff
path: root/helix-term/src/keymap
diff options
context:
space:
mode:
authorIvan Tham2022-10-03 15:02:14 +0000
committerGitHub2022-10-03 15:02:14 +0000
commit66bbba90242e499d7178d4beae1054019067d1c9 (patch)
tree4670e0701d91a8bd7afd3e273d4eb7aed0b25191 /helix-term/src/keymap
parent4a3b776b78c68f21017b1900eafb7fefeadeefa8 (diff)
Select inserted space after join (#3549)
* Select inserted space after join * Split join_selections with space selection to A-J Kakoune does that too and some users may still want to retain their selections. * Update join_selections docs
Diffstat (limited to 'helix-term/src/keymap')
-rw-r--r--helix-term/src/keymap/default.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs
index f07d4028..bad5a81a 100644
--- a/helix-term/src/keymap/default.rs
+++ b/helix-term/src/keymap/default.rs
@@ -144,6 +144,7 @@ pub fn default() -> HashMap<Mode, Keymap> {
"<" => unindent,
"=" => format_selections,
"J" => join_selections,
+ "A-J" => join_selections_space,
"K" => keep_selections,
"A-K" => remove_selections,