Set proper keybinds

This commit is contained in:
Mitchell Hashimoto
2022-11-06 17:27:17 -08:00
parent fd304c9338
commit c602820dc9

View File

@ -157,6 +157,7 @@ pub const Config = struct {
.{ .toggle_dev_mode = {} },
);
// Windowing
try result.keybind.set.put(
alloc,
.{ .key = .n, .mods = .{ .super = true } },
@ -167,12 +168,11 @@ pub const Config = struct {
.{ .key = .w, .mods = .{ .super = true } },
.{ .close_window = {} },
);
if (builtin.os.tag == .macos) {
try result.keybind.set.put(
alloc,
.{ .key = .q, .mods = .{ .super = true } },
.{ .close_window = {} },
.{ .quit = {} },
);
}