correct default keybinding cmd+backspace for macOS (#4249)

This produces the following keybind, which I believe was intended.
> keybind = cmd+backspace=text:\x15

Matches the cmd+left and cmd+right which are a few lines up.

#3679 
#3646
This commit is contained in:
Mitchell Hashimoto
2025-01-08 13:32:08 -08:00
committed by GitHub

View File

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