AutoYADM commit: 2024-12-18 18:30:04
This commit is contained in:
parent
ec90c943a1
commit
b3f5eebb24
1 changed files with 8 additions and 1 deletions
|
@ -11,9 +11,16 @@ return {
|
||||||
end
|
end
|
||||||
return out
|
return out
|
||||||
end
|
end
|
||||||
|
local map = {
|
||||||
|
toggle = { "<Cr>", "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 = {
|
local opts = {
|
||||||
builtin_marks = { ".", "<", ">", "^" },
|
builtin_marks = { ".", "<", ">", "^" },
|
||||||
mappings = {},
|
mappings = fmt_prefix("<leader>m", map),
|
||||||
}
|
}
|
||||||
require("marks").setup(opts)
|
require("marks").setup(opts)
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue