mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 16:26:08 +03:00
Merge pull request #1357 from LordMZTE/plus-keybind
add increase_font_size keybind with plus
This commit is contained in:
@ -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(.{}) },
|
||||
|
Reference in New Issue
Block a user