AutoYADM commit: 2024-11-11 15:00:02

This commit is contained in:
Daniel Fichtinger 2024-11-11 15:00:02 -05:00
parent 0cbf525b9f
commit 370bc12293
2 changed files with 10 additions and 4 deletions

View file

@ -4,8 +4,8 @@ local function retmap()
inline_surround_toggle_line = "<leader>mmm", -- (string|boolean) line-wise toggle inline style
inline_surround_delete = "<leader>md", -- (string|boolean) delete emphasis surrounding cursor
inline_surround_change = "<leader>mc", -- (string|boolean) change emphasis surrounding cursor
link_add = "<leader>ml", -- (string|boolean) add link
link_follow = "<leader>mx", -- (string|boolean) follow link
-- link_add = "<leader>ml", -- (string|boolean) add link
-- link_follow = "<leader>mx", -- (string|boolean) follow link
go_curr_heading = "<leader>mp",
go_parent_heading = "<leader>mP",
go_next_heading = "<M-n>",
@ -14,6 +14,9 @@ local function retmap()
require("which-key").add({
{ "<leader>m", group = "Markdown" },
})
vim.keymap.set("n", "<leader>m<cr>", "<cmd>MDListItemBelow<cr>", { silent = true })
vim.keymap.set("n", "<leader>mu", "<cmd>MDListItemAbove<cr>", { silent = true })
vim.keymap.set("n", "<leader>ml", "<cmd>MDResetListNumbering<cr>", { silent = true })
return m
end
local opts = {