summaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-04-09 15:21:54 +0000
committerBlaž Hrastnik2021-04-09 15:21:54 +0000
commit392c4a9c02d74974ff3160505aec4e4af370bf81 (patch)
tree93bb0fe792d6b47b29b2ed37d26ab2c77f786f81 /helix-term/src/commands.rs
parent73f4abbb37e399cdb422fb723827d256142a9df3 (diff)
Keep primary selection as space+space.
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 2 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),
_ => (),
}
}