diff options
| author | Trey Bastian <hello@treybastian.com> | 2026-01-23 11:01:01 +0000 |
|---|---|---|
| committer | Trey Bastian <hello@treybastian.com> | 2026-01-23 11:01:01 +0000 |
| commit | c2639a768a4aab7ed939d08984e4869a83c39bb6 (patch) | |
| tree | 55a0e6702fad2d20f7be4497980b6a502fe2bcdd /lua/config/todo.lua | |
| parent | 7474de76798c44b750b4665f7c7cfff8e1e555bf (diff) | |
added folke/todo-comment this is great!
Diffstat (limited to 'lua/config/todo.lua')
| -rw-r--r-- | lua/config/todo.lua | 15 |
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>") |
