[nvim] feat: send selection to void register

This commit is contained in:
David JULIEN 2023-01-07 22:30:59 +01:00
parent 07741bae28
commit 17f4fcbe18

View File

@ -41,6 +41,12 @@ vim.keymap.set("x", "<leader>p",
{ desc = "Send selection to void register and paste from clipboard" }
)
-- deletion
vim.keymap.set({ "n", "x" }, "<leader>d",
"\"_d",
{ desc = "Send selection to void register" }
)
-- comfort zone
vim.keymap.set("n", "<leader><enter>",
"<cmd>w! | !compiler %<CR>",