Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 673 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 673 Bytes

NeoVim Markdown style Todo Toggler

Installation

Packer:

  use { "unamatasanatarai/nvim-md-todo-toggle" }

Usage

Setup your keybinding

local status_ok, todo = pcall(require, "nvim-md-todo-toggle")
if not status_ok then
  return
end

todo.setup {
  marker = "x"
}

vim.keymap.set("n", "<leader>t", todo.toggle, { desc = "Toggle a readme marker", noremap = true, silent = true })
vim.keymap.set("n", "<leader>tn", todo.add, { desc = "Add a new todo entry from within nvim", noremap = true, silent = true })

Options

.setup{
  marker = "x"
}

Commands

  • :TDToggle
  • :TDAdd

Nvim Todo Markdown Toggler in action