aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index f340da91..7992a517 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -2381,12 +2381,7 @@ pub fn space_mode(cx: &mut Context) {
match ch {
'f' => file_picker(cx),
'b' => buffer_picker(cx),
- 'w' => {
- // save current buffer
- let (view, doc) = cx.current();
- doc.format(view.id); // TODO: merge into save
- tokio::spawn(doc.save());
- }
+ 'w' => window_mode(cx),
// ' ' => toggle_alternate_buffer(cx),
// TODO: temporary since space mode took it's old key
' ' => keep_primary_selection(cx),