Skip to content

Commit

Permalink
Merge branch 'master' into release-please--branches--master--componen…
Browse files Browse the repository at this point in the history
…ts--mder.nvim
  • Loading branch information
phanen authored Mar 8, 2024
2 parents 267625e + 7a4b73a commit cd0fac7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ft = "markdown",
config = function()
au("Filetype", {
pattern = { "markdown", "typst" },
pattern = { "markdown" },
callback = function()
map({ "n", "x" }, "<c- >", require("mder").line, { buffer = 0 })
map("x", "<c-e>", require("mder").codeblock, { buffer = 0 })
Expand Down
28 changes: 13 additions & 15 deletions doc/mder.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,24 @@
==============================================================================
Table of Contents *mder.nvim-table-of-contents*

- install |mder.nvim-install|
<https://github.com/phanen/toggle-checkbox.nvim/actions/workflows/ci.yml> #
toggle-checkbox.nvim

A Neovim plugin for checking and unchecking Markdown checkboxes, written in
Lua.

Inspired by jkramer/vim-checkbox <https://github.com/jkramer/vim-checkbox>.


INSTALL *mder.nvim-install*

use `lazy.nvim`
mder.nvim

>lua
{
"phanen/toggle-checkbox.nvim",
"phanen/mder.nvim",
ft = "markdown",
keys = { { mode = { "n", "x" }, "<c-space>", "<cmd>lua require('toggle-checkbox').toggle()<cr>" }, },
opts = {},
config = function()
au("Filetype", {
pattern = { "markdown" },
callback = function()
map({ "n", "x" }, "<c- >", require("mder").line, { buffer = 0 })
map("x", "<c-e>", require("mder").codeblock, { buffer = 0 })
map("n", "o", require("mder").listdn, { expr = true, buffer = 0 })
map("n", "O", require("mder").listup, { expr = true, buffer = 0 })
end,
})
end,
},
<

Expand Down

0 comments on commit cd0fac7

Please sign in to comment.