diff options
author | Ivan Tham | 2021-06-06 05:09:21 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-07 00:08:08 +0000 |
commit | 2066e866c739fec210df85534b9fbc1de02c155b (patch) | |
tree | b478bbb10504e0780dd07c3e5a4f9c05541a0aa1 /helix-term | |
parent | 3494bb8ef0e3c43e0507d264867c1e1e572c2367 (diff) |
Add spc w w for window mode
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/commands.rs | 7 |
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), |