Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 796 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 796 Bytes

md_todo

Neovim lua plugin to manage todos in your markdown files

This plugin exposes 2 main functions:

create_todo

This will add a new github style markdown task on a new line and leave your cursor in insert mode at the end of the line so you can type the title of the task

Example usage

local md_td = require('md_todo')

vim.keymap.set("n", "<leader>md",function ()
  md_td.toggle_state()
end)

toggle_state

This will toggle the state of a task.

Example usage

local md_td = require('md_todo')

vim.keymap.set("n", "<leader>mn",function ()
  md_td.create_todo()
end)

Contributions

They are welcome, just open a pull request :)

Roadmap

  • [] Select multiple tasks and toggle state

Demo

Youtube video(less than 30 secs)