gtk: previous/next tab bindings

This commit is contained in:
Mitchell Hashimoto
2023-02-25 10:29:58 -08:00
parent 65b3c7ca86
commit aa2d3720b6
4 changed files with 69 additions and 11 deletions

View File

@@ -278,6 +278,16 @@ pub const Config = struct {
.{ .key = .t, .mods = .{ .super = true } },
.{ .new_tab = {} },
);
try result.keybind.set.put(
alloc,
.{ .key = .left_bracket, .mods = .{ .super = true, .shift = true } },
.{ .previous_tab = {} },
);
try result.keybind.set.put(
alloc,
.{ .key = .right_bracket, .mods = .{ .super = true, .shift = true } },
.{ .next_tab = {} },
);
if (comptime builtin.target.isDarwin()) {
try result.keybind.set.put(
alloc,