diff --git a/src/config/Config.zig b/src/config/Config.zig index 0bec3f772..90e0c166f 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -2660,6 +2660,11 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config { .{ .key = .{ .translated = .w }, .mods = .{ .super = true } }, .{ .close_surface = {} }, ); + try result.keybind.set.put( + alloc, + .{ .key = .{ .translated = .w }, .mods = .{ .super = true, .alt = true } }, + .{ .close_tab = {} }, + ); try result.keybind.set.put( alloc, .{ .key = .{ .translated = .w }, .mods = .{ .super = true, .shift = true } }, @@ -2675,11 +2680,6 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config { .{ .key = .{ .translated = .t }, .mods = .{ .super = true } }, .{ .new_tab = {} }, ); - try result.keybind.set.put( - alloc, - .{ .key = .{ .translated = .w }, .mods = .{ .super = true } }, - .{ .close_tab = {} }, - ); try result.keybind.set.put( alloc, .{ .key = .{ .translated = .left_bracket }, .mods = .{ .super = true, .shift = true } },