Yet another local issue tracking plugin for Neovim. This one is based on Tsoding's Emacs plugin.
It is a simple human readable alternative to UUIDs that it is derived from the local date time. Check Tsoding's stream for more details.
Using lazy.nvim:
return {
"Souvlaki42/tasks.nvim",
opts = {
-- you can change these
dir_name = "tasks",
match_header = "TODO:",
},
-- you can change these too
config = function()
vim.keymap.set("n", "<leader>tc", "<cmd>TasksCreate<cr>", { desc = "Create task from TODO comment" })
vim.keymap.set("n", "<leader>to", "<cmd>TasksOpen<cr>", { desc = "Open task HUID reference's task file" })
end,
}After installation:
- Create a
tasks(or whatever you set in the options) directory in your project. - Hover a line which contains
TODO:(or whatever you set in the options). - Press
<leader>tc(or your own shortcut) to create a task directory in yourtasksand open its task file. - Press
<leader>to(or your own shortcut) while hovering over a task HUID to open its task file in a split. - You can also do both of these manually with
TasksCreateandTasksOpencommands. TasksOpencommand can optionally be supplied with a HUID to open the respective task file.
This project is released to the public domain. See LICENSE for more details.