diff --git a/nvim/custom/mappings.lua b/nvim/custom/mappings.lua index d6a2ec3..fd30fa4 100644 --- a/nvim/custom/mappings.lua +++ b/nvim/custom/mappings.lua @@ -3,12 +3,14 @@ local M = {} M.general = { n = { [" "] = { ":noh", "Clean search highlight" }, + ["d"] = { "\"_d", "Delete without yank" }, }, v = { ["J"] = { ":m '>+1gv=gv", "Move visual block up" }, ["K"] = { ":m '<-2gv=gv", "Move visual block down" }, ["<"] = { ""] = { ">gv", "Keep visual on shift" }, + ["d"] = { "\"_d", "Delete without yank" }, } }