aboutsummaryrefslogtreecommitdiff
path: root/lua/config/todo.lua
diff options
context:
space:
mode:
authorTrey Bastian <hello@treybastian.com>2026-01-23 11:01:01 +0000
committerTrey Bastian <hello@treybastian.com>2026-01-23 11:01:01 +0000
commitc2639a768a4aab7ed939d08984e4869a83c39bb6 (patch)
tree55a0e6702fad2d20f7be4497980b6a502fe2bcdd /lua/config/todo.lua
parent7474de76798c44b750b4665f7c7cfff8e1e555bf (diff)
added folke/todo-comment this is great!
Diffstat (limited to 'lua/config/todo.lua')
-rw-r--r--lua/config/todo.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/config/todo.lua b/lua/config/todo.lua
new file mode 100644
index 0000000..724f2c5
--- /dev/null
+++ b/lua/config/todo.lua
@@ -0,0 +1,15 @@
+vim.pack.add({
+ "https://github.com/folke/todo-comments.nvim",
+})
+
+require("todo-comments").setup()
+
+vim.keymap.set("n", "[t", function()
+ require("todo-comments").jump_prev()
+end)
+
+vim.keymap.set("n", "]t", function()
+ require("todo-comments").jump_next()
+end)
+
+vim.keymap.set("n", "<leader>ft", "<CMD>TodoTelescope<CR>")