mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-23 20:26:09 +03:00
Set proper keybinds
This commit is contained in:
@ -157,6 +157,7 @@ pub const Config = struct {
|
||||
.{ .toggle_dev_mode = {} },
|
||||
);
|
||||
|
||||
// Windowing
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .n, .mods = .{ .super = true } },
|
||||
@ -167,12 +168,11 @@ pub const Config = struct {
|
||||
.{ .key = .w, .mods = .{ .super = true } },
|
||||
.{ .close_window = {} },
|
||||
);
|
||||
|
||||
if (builtin.os.tag == .macos) {
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .q, .mods = .{ .super = true } },
|
||||
.{ .close_window = {} },
|
||||
.{ .quit = {} },
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user