diff options
| author | triethyl <triethylammonium@pm.me> | 2025-12-03 09:48:00 -0500 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-12-03 09:48:00 -0500 |
| commit | da2ae5f98aadc5f5bd3498854db9efd75fa1b6ab (patch) | |
| tree | 061a0d13998f91210db13f1e99dd012ce4b05ca2 /pkgs/custom-neovim/config/lua/plugins/markdown.lua | |
| parent | df154e4918a635e1c7052d332d25324773e13847 (diff) | |
neovim: many changes
Diffstat (limited to 'pkgs/custom-neovim/config/lua/plugins/markdown.lua')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/markdown.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/custom-neovim/config/lua/plugins/markdown.lua b/pkgs/custom-neovim/config/lua/plugins/markdown.lua index d5398ff..0ff22f7 100644 --- a/pkgs/custom-neovim/config/lua/plugins/markdown.lua +++ b/pkgs/custom-neovim/config/lua/plugins/markdown.lua @@ -39,11 +39,27 @@ return { mapkey("n", "<leader>mt", "Toggle table mode", ":Mtm<cr>") mapkey({"n", "v"}, "<leader>mm", "Toggle checkbox", ":MDTaskToggle<cr>") mapkey("n", "<leader>mv", "Toggle markdown preview", ":RenderMarkdown toggle<cr>") + mapkey("n", "<leader>mp", "Paste image", ":PasteImage<cr>") end, } end }, { + "img-clip.nvim", + lazy = true, + ft = { + "markdown", + }, + cmd = { + "PasteImage", + "ImgClipDebug", + "ImgClipConfig", + }, + after = function () + require("img-clip").setup {} + end, + }, + { "markdown-table-mode.nvim", lazy = true, ft = "markdown", |
