leader+d to delete without yank

This commit is contained in:
serxoz 2022-10-05 13:37:43 +02:00
parent a57baec7f8
commit 5ea67f7419

View File

@ -3,12 +3,14 @@ local M = {}
M.general = { M.general = {
n = { n = {
["<leader> "] = { ":noh<CR>", "Clean search highlight" }, ["<leader> "] = { ":noh<CR>", "Clean search highlight" },
["<leader>d"] = { "\"_d", "Delete without yank" },
}, },
v = { v = {
["J"] = { ":m '>+1<CR>gv=gv", "Move visual block up" }, ["J"] = { ":m '>+1<CR>gv=gv", "Move visual block up" },
["K"] = { ":m '<-2<CR>gv=gv", "Move visual block down" }, ["K"] = { ":m '<-2<CR>gv=gv", "Move visual block down" },
["<"] = { "<gv", "Keep visual on shift" }, ["<"] = { "<gv", "Keep visual on shift" },
[">"] = { ">gv", "Keep visual on shift" }, [">"] = { ">gv", "Keep visual on shift" },
["<leader>d"] = { "\"_d", "Delete without yank" },
} }
} }