From b3f5eebb24a3e14295e2db7250670d2997910666 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 18 Dec 2024 18:30:04 -0500 Subject: [PATCH] AutoYADM commit: 2024-12-18 18:30:04 --- .config/nvim/lua/plugins/marks.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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,