Skip to content

Commit

Permalink
Add default keybinding cmd+backspace=esc:w for macOS (#3679)
Browse files Browse the repository at this point in the history
regarding #3646
  • Loading branch information
mitchellh authored Dec 29, 2024
2 parents 1783ec9 + 95ee6c1 commit a2c446c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/config/Config.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2577,6 +2577,11 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
.{ .key = .{ .translated = .left }, .mods = .{ .super = true } },
.{ .text = "\\x01" },
);
try result.keybind.set.put(
alloc,
.{ .key = .{ .translated = .backspace }, .mods = .{ .super = true } },
.{ .esc = "\x15" },
);
try result.keybind.set.put(
alloc,
.{ .key = .{ .translated = .left }, .mods = .{ .alt = true } },
Expand Down

0 comments on commit a2c446c

Please sign in to comment.