change default keybinding for close_tab to ctrl+shift+w

This commit is contained in:
Sabarigirish Manikandan
2025-01-05 15:07:15 +05:30
committed by Mitchell Hashimoto
parent 75c15b6246
commit 8f8591ec01

View File

@ -2375,7 +2375,7 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
);
try result.keybind.set.put(
alloc,
.{ .key = .{ .translated = .x }, .mods = .{ .ctrl = true, .shift = true } },
.{ .key = .{ .translated = .w }, .mods = .{ .ctrl = true, .shift = true } },
.{ .close_tab = {} },
);
try result.keybind.set.put(
@ -2660,7 +2660,7 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
);
try result.keybind.set.put(
alloc,
.{ .key = .{ .translated = .x }, .mods = .{ .super = true } },
.{ .key = .{ .translated = .w }, .mods = .{ .super = true } },
.{ .close_tab = {} },
);
try result.keybind.set.put(