macos: change focus callback to use an enum so we can get other dirs

This commit is contained in:
Mitchell Hashimoto
2023-03-11 17:44:00 -08:00
parent 18cf0dc9fc
commit 04c38ef3b0
8 changed files with 70 additions and 56 deletions

View File

@@ -314,12 +314,12 @@ pub const Config = struct {
try result.keybind.set.put(
alloc,
.{ .key = .left_bracket, .mods = .{ .super = true } },
.{ .previous_split = {} },
.{ .goto_split = .previous },
);
try result.keybind.set.put(
alloc,
.{ .key = .right_bracket, .mods = .{ .super = true } },
.{ .next_split = {} },
.{ .goto_split = .next },
);
{
// Cmd+N for goto tab N