todo-view is a lua plugin for Neovim to open the nearest TODO.md in a floating window and can be edited as normal.
Note
Not case-insensitive. Will only find TODO.md
.
Install the plugin with your plugin manager.
{
"Sheeplet1/todo-view.nvim",
event = "VeryLazy",
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
}
}
Then add to keymaps:
vim.keymap.set("n", "<leader>td", "<cmd>TodoView<CR>", { desc = "Toggle TodoView" })
{
window = {
height = height,
width = width,
border = "rounded",
},
}
todo-view
finds the closest TODO.md
starting from your current working
directory.
- Toggle the TODO window
:TodoView