mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-23 20:26:09 +03:00
config: default inspector keybind to same as chromium
This commit is contained in:
@ -753,6 +753,13 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
||||
.{ .key = .page_down, .mods = .{ .shift = true, .ctrl = true } },
|
||||
.{ .jump_to_prompt = 1 },
|
||||
);
|
||||
|
||||
// Inspector, matching Chromium
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .i, .mods = .{ .shift = true, .ctrl = true } },
|
||||
.{ .inspector = .toggle },
|
||||
);
|
||||
}
|
||||
{
|
||||
// Cmd+N for goto tab N
|
||||
@ -913,6 +920,13 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
||||
.{ .key = .right, .mods = .{ .super = true, .alt = true } },
|
||||
.{ .goto_split = .right },
|
||||
);
|
||||
|
||||
// Inspector, matching Chromium
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .i, .mods = .{ .alt = true, .super = true } },
|
||||
.{ .inspector = .toggle },
|
||||
);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user