diff --git a/nvim/custom/mappings.lua b/nvim/custom/mappings.lua index bb5e1fd..517ee93 100644 --- a/nvim/custom/mappings.lua +++ b/nvim/custom/mappings.lua @@ -1,6 +1,18 @@ local M = {} M.general = { + n = { + [" "] = { ":noh", "Clean search highlight" }, + }, + v = { + ["J"] = { ":m '>+1gv=gv", "Move visual block up" }, + ["K"] = { ":m '>-2gv=gv", "Move visual block down" }, + ["<"] = { ""] = { ">gv", "Keep visual on shift" }, + } +} + +M.harpoon = { n = { ["ss"] = { function()