From c602820dc9098e94be1c42771349d18198ff7763 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 6 Nov 2022 17:27:17 -0800 Subject: [PATCH] Set proper keybinds --- src/config.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.zig b/src/config.zig index 9249254df..341b41bb8 100644 --- a/src/config.zig +++ b/src/config.zig @@ -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 = {} }, ); }