Skip to content

Commit

Permalink
Support Command + Shift + plus
Browse files Browse the repository at this point in the history
  • Loading branch information
curtbushko committed Dec 29, 2024
1 parent b3925b8 commit 9bff9ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/config/Config.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2089,6 +2089,13 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
// Note: this order matters below because the C API will only return
// the last keybinding for a given action. The macOS app uses this to
// set the expected keybind for the menu.

// Terminal.app and iTerm2 support Command + Shift + plus
try result.keybind.set.put(
alloc,
.{ .key = .{ .translated = .plus }, .mods = inputpkg.ctrlOrSuper(.{ .shift = true }) },
.{ .increase_font_size = 1 },
);
try result.keybind.set.put(
alloc,
.{ .key = .{ .translated = .plus }, .mods = inputpkg.ctrlOrSuper(.{}) },
Expand Down

0 comments on commit 9bff9ce

Please sign in to comment.