mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 01:06:08 +03:00
Move selection paste to linux config section
This commit is contained in:
@ -1067,11 +1067,6 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
|||||||
.{ .key = .v, .mods = mods },
|
.{ .key = .v, .mods = mods },
|
||||||
.{ .paste_from_clipboard = {} },
|
.{ .paste_from_clipboard = {} },
|
||||||
);
|
);
|
||||||
try result.keybind.set.put(
|
|
||||||
alloc,
|
|
||||||
.{ .key = .insert, .mods = .{ .shift = true } },
|
|
||||||
.{ .paste_from_selection = {} },
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fonts
|
// Fonts
|
||||||
@ -1265,6 +1260,13 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
|||||||
.{ .key = .a, .mods = .{ .shift = true, .ctrl = true } },
|
.{ .key = .a, .mods = .{ .shift = true, .ctrl = true } },
|
||||||
.{ .select_all = {} },
|
.{ .select_all = {} },
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Selection clipboard paste
|
||||||
|
try result.keybind.set.put(
|
||||||
|
alloc,
|
||||||
|
.{ .key = .insert, .mods = .{ .shift = true } },
|
||||||
|
.{ .paste_from_selection = {} },
|
||||||
|
);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// Cmd+N for goto tab N
|
// Cmd+N for goto tab N
|
||||||
|
Reference in New Issue
Block a user