gtk: close tab button

This commit is contained in:
Mitchell Hashimoto
2023-02-24 15:54:36 -08:00
parent fface4a6b3
commit ac1c961c4e
2 changed files with 65 additions and 13 deletions

View File

@@ -273,12 +273,12 @@ pub const Config = struct {
.{ .key = .w, .mods = .{ .super = true } },
.{ .close_window = {} },
);
try result.keybind.set.put(
alloc,
.{ .key = .t, .mods = .{ .super = true } },
.{ .new_tab = {} },
);
if (comptime builtin.target.isDarwin()) {
try result.keybind.set.put(
alloc,
.{ .key = .t, .mods = .{ .super = true } },
.{ .new_tab = {} },
);
try result.keybind.set.put(
alloc,
.{ .key = .q, .mods = .{ .super = true } },