macos: add key binding for equalizing split sizes

This commit is contained in:
Gregory Anders
2023-11-07 16:15:46 -06:00
parent 36dd5ef4ee
commit cd01340cce
12 changed files with 103 additions and 4 deletions

View File

@@ -1016,6 +1016,11 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
.{ .key = .right, .mods = .{ .super = true, .ctrl = true } },
.{ .resize_split = .{ .right, 10 } },
);
try result.keybind.set.put(
alloc,
.{ .key = .equal, .mods = .{ .shift = true, .alt = true } },
.{ .equalize_splits = {} },
);
// Inspector, matching Chromium
try result.keybind.set.put(