correct default keybinding cmd+backspace for macOS

cmd+backspace=text:\x15
This commit is contained in:
Ryan Rotter
2024-12-31 22:59:32 -05:00
parent 60611b8a4a
commit c16dbc01f0

View File

@ -2603,7 +2603,7 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
try result.keybind.set.put( try result.keybind.set.put(
alloc, alloc,
.{ .key = .{ .translated = .backspace }, .mods = .{ .super = true } }, .{ .key = .{ .translated = .backspace }, .mods = .{ .super = true } },
.{ .esc = "\x15" }, .{ .text = "\\x15" },
); );
try result.keybind.set.put( try result.keybind.set.put(
alloc, alloc,