mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
Add default keybinding cmd+backspace=esc:w for macOS (#3679)
regarding https://github.com/ghostty-org/ghostty/issues/3646
This commit is contained in:
@ -2577,6 +2577,11 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
|||||||
.{ .key = .{ .translated = .left }, .mods = .{ .super = true } },
|
.{ .key = .{ .translated = .left }, .mods = .{ .super = true } },
|
||||||
.{ .text = "\\x01" },
|
.{ .text = "\\x01" },
|
||||||
);
|
);
|
||||||
|
try result.keybind.set.put(
|
||||||
|
alloc,
|
||||||
|
.{ .key = .{ .translated = .backspace }, .mods = .{ .super = true } },
|
||||||
|
.{ .esc = "\x15" },
|
||||||
|
);
|
||||||
try result.keybind.set.put(
|
try result.keybind.set.put(
|
||||||
alloc,
|
alloc,
|
||||||
.{ .key = .{ .translated = .left }, .mods = .{ .alt = true } },
|
.{ .key = .{ .translated = .left }, .mods = .{ .alt = true } },
|
||||||
|
Reference in New Issue
Block a user