more fixes for #12616

This commit is contained in:
Benjamin Pasero
2016-09-26 09:20:39 +02:00
parent 13a9214125
commit dfdfc66f58

View File

@@ -413,6 +413,7 @@ export class FileController extends DefaultController {
if (platform.isMacintosh) {
this.downKeyBindingDispatcher.set(KeyMod.CtrlCmd | KeyCode.UpArrow, this.onLeft.bind(this));
this.downKeyBindingDispatcher.set(KeyMod.CtrlCmd | KeyCode.Backspace, this.onDelete.bind(this));
this.downKeyBindingDispatcher.set(KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Backspace, this.onDelete.bind(this));
} else {
this.downKeyBindingDispatcher.set(KeyCode.Delete, this.onDelete.bind(this));
this.downKeyBindingDispatcher.set(KeyMod.Shift | KeyCode.Delete, this.onDelete.bind(this));