aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/commands.rs2
-rw-r--r--helix-term/src/keymap.rs1
2 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 98e8b20c..b6ae0138 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1898,6 +1898,8 @@ pub fn space_mode(cx: &mut Context) {
cx.editor.close(cx.view_id);
}
// ' ' => toggle_alternate_buffer(cx),
+ // TODO: temporary since space mode took it's old key
+ ' ' => keep_primary_selection(cx),
_ => (),
}
}
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index e20c8ebf..26b2b5fe 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -220,6 +220,7 @@ pub fn default() -> Keymaps {
shift!('K') => commands::keep_selections,
// TODO: and another method for inverse
+ // TODO: clashes with space mode
key!(' ') => commands::keep_primary_selection,
// key!('q') => commands::record_macro,