fix: neorg tasks not working
This commit is contained in:
parent
0e6b7e2558
commit
3d61f9afdd
@ -19,6 +19,7 @@ require('which-key').add {
|
|||||||
{ "<leader>l_", hidden = true },
|
{ "<leader>l_", hidden = true },
|
||||||
{ "<leader>m", group = "neorg [M]ode" },
|
{ "<leader>m", group = "neorg [M]ode" },
|
||||||
{ "<leader>m_", hidden = true },
|
{ "<leader>m_", hidden = true },
|
||||||
|
{ "<leader>t", group = "neorg [T]asks" },
|
||||||
{ "<leader>n", group = "[N]eorg" },
|
{ "<leader>n", group = "[N]eorg" },
|
||||||
{ "<leader>n_", hidden = true },
|
{ "<leader>n_", hidden = true },
|
||||||
{ "<leader>ne", group = "[N]eorg [E]xport" },
|
{ "<leader>ne", group = "[N]eorg [E]xport" },
|
||||||
@ -43,3 +44,19 @@ vim.api.nvim_set_keymap("n", "<Leader>nee", ":Neorg export to-file /tmp/neorg-ex
|
|||||||
{ noremap = true, silent = true, desc = "[N]eorg [E]xport Predefined" })
|
{ noremap = true, silent = true, desc = "[N]eorg [E]xport Predefined" })
|
||||||
vim.api.nvim_set_keymap("n", "<Leader>nef", ":Neorg export to-file ",
|
vim.api.nvim_set_keymap("n", "<Leader>nef", ":Neorg export to-file ",
|
||||||
{ noremap = true, silent = true, desc = "[N]eorg [E]xport [F]ile" })
|
{ noremap = true, silent = true, desc = "[N]eorg [E]xport [F]ile" })
|
||||||
|
|
||||||
|
-- Tasks
|
||||||
|
vim.api.nvim_set_keymap("n", "<LocalLeader>td", "<Plug>(neorg.qol.todo-items.todo.task-done)",
|
||||||
|
{ noremap = true, silent = true, desc = "[T]ask [D]one"})
|
||||||
|
vim.api.nvim_set_keymap("n", "<LocalLeader>tu", "<Plug>(neorg.qol.todo-items.todo.task-undone)",
|
||||||
|
{ noremap = true, silent = true, desc = "[T]ask [U]ndone"})
|
||||||
|
vim.api.nvim_set_keymap("n", "<LocalLeader>tp", "<Plug>(neorg.qol.todo-items.todo.task-pending)",
|
||||||
|
{ noremap = true, silent = true, desc = "[T]ask [P]ending"})
|
||||||
|
vim.api.nvim_set_keymap("n", "<LocalLeader>th", "<Plug>(neorg.qol.todo-items.todo.task-on_hold)",
|
||||||
|
{ noremap = true, silent = true, desc = "[T]ask on [H]old"})
|
||||||
|
vim.api.nvim_set_keymap("n", "<LocalLeader>tc", "<Plug>(neorg.qol.todo-items.todo.task-cancelled)",
|
||||||
|
{ noremap = true, silent = true, desc = "[T]ask on [C]ancelled"})
|
||||||
|
vim.api.nvim_set_keymap("n", "<LocalLeader>tr", "<Plug>(neorg.qol.todo-items.todo.task-recurring)",
|
||||||
|
{ noremap = true, silent = true, desc = "[T]ask on [R]ecurring"})
|
||||||
|
vim.api.nvim_set_keymap("n", "<LocalLeader>ti", "<Plug>(neorg.qol.todo-items.todo.task-important)",
|
||||||
|
{ noremap = true, silent = true, desc = "[T]ask on [I]mportant"})
|
||||||
|
Loading…
Reference in New Issue
Block a user