You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
508 B
Lua
19 lines
508 B
Lua
return {
|
|
"ribelo/taskwarrior.nvim",
|
|
config = function()
|
|
local map = vim.keymap.set
|
|
local taskwarrior = require("taskwarrior_nvim.taskwarrior")
|
|
|
|
map({ "n" }, "<leader>ta", function()
|
|
vim.ui.input({ prompt = "Custom command: " }, function(input)
|
|
vim.notify(input)
|
|
taskwarrior.add_task({ input })
|
|
end)
|
|
end, { noremap = true })
|
|
|
|
map({ "n" }, "<leader>tb", function()
|
|
require("taskwarrior_nvim").browser({ "ready" })
|
|
end, { noremap = true })
|
|
end,
|
|
}
|