diff options
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>") |
