aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index ef283a63..9a18c3b7 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -451,7 +451,8 @@ impl Default for Keymaps {
// & align selections
// _ trim selections
- // C / altC = copy (repeat) selections on prev/next lines
+ "(" => rotate_selections_backward,
+ ")" => rotate_selections_forward,
"esc" => normal_mode,
"C-b" | "pageup" => page_up,
@@ -508,9 +509,6 @@ impl Default for Keymaps {
"\"" => select_register,
"C-z" => suspend,
});
- // TODO: decide whether we want normal mode to also be select mode (kakoune-like), or whether
- // we keep this separate select mode. More keys can fit into normal mode then, but it's weird
- // because some selection operations can now be done from normal mode, some from select mode.
let mut select = normal.clone();
select.merge_nodes(keymap!({ "Select mode"
"h" | "left" => extend_char_left,