@@ -856,7 +856,7 @@ pub fn command_mode(cx: &mut Context) {
857 match *parts.as_slice() {
857 match *parts.as_slice() {
858 ["q"] | ["quit"] => {
858 ["q"] | ["quit"] => {
859− editor.close(editor.view().id);
859+ editor.close(editor.view().id, /* close_buffer */ false);
861 ["o", path] | ["open", path] => {
861 ["o", path] | ["open", path] => {
862 editor.open(path.into(), Action::Replace);
862 editor.open(path.into(), Action::Replace);
@@ -2085,7 +2085,7 @@ pub fn space_mode(cx: &mut Context) {
2086 'c' => {
2086 'c' => {
2087 // close current split
2087 // close current split
2088− cx.editor.close(cx.view_id);
2088+ cx.editor.close(cx.view_id, /* close_buffer */ false);
2090 // ' ' => toggle_alternate_buffer(cx),
2090 // ' ' => toggle_alternate_buffer(cx),
2091 // TODO: temporary since space mode took it's old key
2091 // TODO: temporary since space mode took it's old key