mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-22 06:33:08 +01:00
15 lines
333 B
Lua
15 lines
333 B
Lua
local todo_comments = require("todo-comments")
|
|
|
|
-- set keymaps
|
|
local keymap = vim.keymap -- for conciseness
|
|
|
|
keymap.set("n", "]t", function()
|
|
todo_comments.jump_next()
|
|
end, { desc = "Next todo comment" })
|
|
|
|
keymap.set("n", "[t", function()
|
|
todo_comments.jump_prev()
|
|
end, { desc = "Previous todo comment" })
|
|
|
|
todo_comments.setup()
|