Skip to content

Souvlaki42/tasks.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tasks.nvim

Yet another local issue tracking plugin for Neovim. This one is based on Tsoding's Emacs plugin.

What's HUID?

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.

Installation

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,
}

Usage

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 your tasks and 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 TasksCreate and TasksOpen commands.
  • TasksOpen command can optionally be supplied with a HUID to open the respective task file.

LICENSE

This project is released to the public domain. See LICENSE for more details.

About

Yet another local issue tracking plugin for Neovim.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages