config: close_tab on macOS should be cmd+opt+w to match iTerm2
parent
0d679951bc
commit
e4033ca4df
|
|
@ -2660,6 +2660,11 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
|||
.{ .key = .{ .translated = .w }, .mods = .{ .super = true } },
|
||||
.{ .close_surface = {} },
|
||||
);
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .{ .translated = .w }, .mods = .{ .super = true, .alt = true } },
|
||||
.{ .close_tab = {} },
|
||||
);
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .{ .translated = .w }, .mods = .{ .super = true, .shift = true } },
|
||||
|
|
@ -2675,11 +2680,6 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
|||
.{ .key = .{ .translated = .t }, .mods = .{ .super = true } },
|
||||
.{ .new_tab = {} },
|
||||
);
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .{ .translated = .w }, .mods = .{ .super = true } },
|
||||
.{ .close_tab = {} },
|
||||
);
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .{ .translated = .left_bracket }, .mods = .{ .super = true, .shift = true } },
|
||||
|
|
|
|||
Loading…
Reference in New Issue