From e4ba67ec8fc2b90da64a7c037739ff837964d332 Mon Sep 17 00:00:00 2001 From: Patrick Auernig Date: Fri, 6 Dec 2024 19:15:42 +0100 Subject: [PATCH] Add keybindings for clipboard paste --- lua/valeth/keymaps.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/valeth/keymaps.lua b/lua/valeth/keymaps.lua index bd4a72a..371cfd2 100644 --- a/lua/valeth/keymaps.lua +++ b/lua/valeth/keymaps.lua @@ -8,6 +8,9 @@ local maps = { -- Yank to clipboard { { "n", "v" }, "y", [["+y]], { desc = "Yank to clipboard" } }, { { "n", "v" }, "Y", [["+Y]], { desc = "Yank line to clipboard" } }, + { { "n", "v" }, "p", [["+p]], { desc = "Paste clipboard after cursor" } }, + { { "n", "v" }, "P", [["+P]], { desc = "Paste clipboard before cursor" } }, + -- Move up and down visual lines for the few times I need wrapping { "n", "j", "gj" },