nvim: Add neowarrior plugin
Allows quickly listing and working with taskwarrior tasks from within neovim. Show a floating `:NeoWarriorOpen` window with `<leader>sw` or a vertical neowarrior buffer with `<leader>sW`.
This commit is contained in:
parent
76330c142a
commit
15015e61e0
1 changed files with 26 additions and 0 deletions
26
nvim/.config/nvim/lua/plugins/task.lua
Normal file
26
nvim/.config/nvim/lua/plugins/task.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
return {
|
||||
{
|
||||
"duckdm/neowarrior.nvim",
|
||||
branch = "develop",
|
||||
-- event = {"CursorHold", "InsertEnter"},
|
||||
dependencies = {
|
||||
--- Optional but recommended for nicer inputs
|
||||
--- 'folke/noice.nvim',
|
||||
},
|
||||
--- See config example below
|
||||
opts = {},
|
||||
cmd = {
|
||||
"NeoWarriorOpen",
|
||||
"NeoWarriorAdd",
|
||||
"NeoWarriorDone",
|
||||
"NeoWarriorFilter",
|
||||
"NeoWarriorFilterSelect",
|
||||
"NeoWarriorReport",
|
||||
"NeoWarriorRefresh",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>sw", ":NeoWarriorOpen float<cr>", desc = "open neowarrior", silent = true },
|
||||
{ "<leader>sW", ":NeoWarriorOpen right<cr>", desc = "open neowarrior", silent = true },
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue