From f7911937ece2f1d7fe7cf995c4c720754645a418 Mon Sep 17 00:00:00 2001 From: ProfOak <585087+ProfOak@users.noreply.github.com> Date: Wed, 21 Feb 2024 22:37:05 -0600 Subject: [PATCH] Move selection paste to linux config section --- src/config/Config.zig | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/config/Config.zig b/src/config/Config.zig index 8a0de7c4e..b9bac03e0 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -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