David Moberg 2025-12-17 16:48:48 -05:00 committed by GitHub
commit 035f892902
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -5884,6 +5884,13 @@ pub const Keybinds = struct {
.{ .key = .{ .physical = .equal }, .mods = inputpkg.ctrlOrSuper(.{}) },
.{ .increase_font_size = 1 },
);
// This key-binding make the intuitive keybinding work for layouts that
// achieves plus by using the shift key (like UK)
try self.set.put(
alloc,
.{ .key = .{ .translated = .plus }, .mods = inputpkg.ctrlOrSuper(.{ .shift = true }) },
.{ .increase_font_size = 1 },
);
try self.set.put(
alloc,
.{ .key = .{ .unicode = '+' }, .mods = inputpkg.ctrlOrSuper(.{}) },