System clipboard mapping's for easy interaction.

This commit is contained in:
CronyAkatsuki 2023-12-24 19:19:41 +01:00
parent 0b29740138
commit 3386e3745f

View File

@ -35,8 +35,9 @@ end, { desc = "Source current source file" })
map("v", "<", "<gv") map("v", "<", "<gv")
map("v", ">", ">gv") map("v", ">", ">gv")
-- next greatest remap ever : asbjornHaland ( stolen from the primeagen ) -- allow for use of system clipboard fast
map({ "n", "v" }, "<leader>y", [["+y]], { desc = "" }) map({ "n", "v" }, "<leader>y", [["+y]])
map("n", "<leader>Y", [["+Y]]) map("n", "<leader>Y", [["+Y]])
map({ "n", "v" }, "<leader>P", [["+p]])
map({ "n", "v" }, "<leader>d", [["_d]]) map({ "n", "v" }, "<leader>d", [["_d]])