aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap
diff options
context:
space:
mode:
authorDylanBulfin2022-12-23 02:27:20 +0000
committerGitHub2022-12-23 02:27:20 +0000
commit1107296ca9bfd728258a4571be35eb7c811ff3b3 (patch)
treeb44b718366f56bc82a28f3d9d9305fdc312c151a /helix-term/src/keymap
parent1b89d3e5350f83b2ffb86a86326bd2714308ee53 (diff)
Add command to merge consecutive ranges in selection (#5047)
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 ebcd125a..ef93dee0 100644
--- a/helix-term/src/keymap/default.rs
+++ b/helix-term/src/keymap/default.rs
@@ -76,6 +76,7 @@ pub fn default() -> HashMap<Mode, Keymap> {
"s" => select_regex,
"A-s" => split_selection_on_newline,
+ "A-_" => merge_consecutive_selections,
"S" => split_selection,
";" => collapse_selection,
"A-;" => flip_selections,