From 8182b69ae3f1c2352c6204410e424c991a16ad7e Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Mon, 22 Jan 2024 16:15:03 +0100 Subject: [PATCH] add increase_font_size keybind with plus --- src/config/Config.zig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/config/Config.zig b/src/config/Config.zig index 13f9fb338..5a8414cf8 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -1029,6 +1029,12 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config { .{ .key = .equal, .mods = inputpkg.ctrlOrSuper(.{}) }, .{ .increase_font_size = 1 }, ); + // Increase font size mapping for keyboards with dedicated plus keys (like german) + try result.keybind.set.put( + alloc, + .{ .key = .plus, .mods = inputpkg.ctrlOrSuper(.{}) }, + .{ .increase_font_size = 1 }, + ); try result.keybind.set.put( alloc, .{ .key = .minus, .mods = inputpkg.ctrlOrSuper(.{}) },