diff --git a/after/plugin/todo-comments.lua b/after/plugin/todo-comments.lua index 3de9789..60a017c 100644 --- a/after/plugin/todo-comments.lua +++ b/after/plugin/todo-comments.lua @@ -4,3 +4,11 @@ if not status_ok then end todo_comments.setup {} + +local nmap = require "opdavies.keymap".nmap + +nmap { "[t", function() todo_comments.jump_prev() end, { desc = "Previous todo comment" }} +nmap { "]t", function() todo_comments.jump_next() end, { desc = "Next todo comment" }} + +nmap { "tt", "TodoTelescope" } +nmap { "tq", "TodoQuickFix" }