mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
config: select all should default to ctrl+shift+a on linux
This commit is contained in:
@ -933,6 +933,13 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
||||
.{ .key = .i, .mods = .{ .shift = true, .ctrl = true } },
|
||||
.{ .inspector = .toggle },
|
||||
);
|
||||
|
||||
// Terminal
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .a, .mods = .{ .shift = true, .ctrl = true } },
|
||||
.{ .select_all = {} },
|
||||
);
|
||||
}
|
||||
{
|
||||
// Cmd+N for goto tab N
|
||||
@ -965,13 +972,6 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
||||
}
|
||||
}
|
||||
|
||||
// Select all
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .a, .mods = ctrlOrSuper(.{}) },
|
||||
.{ .select_all = {} },
|
||||
);
|
||||
|
||||
// Toggle fullscreen
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
@ -1004,6 +1004,11 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
||||
.{ .key = .k, .mods = .{ .super = true } },
|
||||
.{ .clear_screen = {} },
|
||||
);
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .a, .mods = .{ .super = true } },
|
||||
.{ .select_all = {} },
|
||||
);
|
||||
|
||||
// Viewport scrolling
|
||||
try result.keybind.set.put(
|
||||
|
Reference in New Issue
Block a user