diff --git a/.config/nvim/lua/plugins/marks.lua b/.config/nvim/lua/plugins/marks.lua index a1a333ed..6ca22d7e 100644 --- a/.config/nvim/lua/plugins/marks.lua +++ b/.config/nvim/lua/plugins/marks.lua @@ -11,9 +11,16 @@ return { end return out end + local map = { + toggle = { "", "Toggle next mark at cursor" }, + set_next = { "n", "Set next mark at cursor" }, + delete = { "D", "Delete mark" }, + delete_buf = { "db", "Delete all mark in buffer" }, + delete_line = { "da", "Delete all mark in line" }, + } local opts = { builtin_marks = { ".", "<", ">", "^" }, - mappings = {}, + mappings = fmt_prefix("m", map), } require("marks").setup(opts) end,