Move selection paste to linux config section

This commit is contained in:
ProfOak
2024-02-21 22:37:05 -06:00
parent a0c43a8566
commit f7911937ec

View File

@ -1067,11 +1067,6 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
.{ .key = .v, .mods = mods },
.{ .paste_from_clipboard = {} },
);
try result.keybind.set.put(
alloc,
.{ .key = .insert, .mods = .{ .shift = true } },
.{ .paste_from_selection = {} },
);
}
// Fonts
@ -1265,6 +1260,13 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
.{ .key = .a, .mods = .{ .shift = true, .ctrl = true } },
.{ .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