From 2066e866c739fec210df85534b9fbc1de02c155b Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sun, 6 Jun 2021 13:09:21 +0800 Subject: Add spc w w for window mode --- helix-term/src/commands.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'helix-term/src/commands.rs') 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), -- cgit v1.2.3-70-g09d2