X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/eca3163fa25f5d6a4d1aa77d447473141d1a5b79..7d854464d9b1bd386b0eaf25f38ac3b96dd1fc18:/nvim/lua/plugins/editor.lua diff --git a/nvim/lua/plugins/editor.lua b/nvim/lua/plugins/editor.lua index deab249..cb18528 100644 --- a/nvim/lua/plugins/editor.lua +++ b/nvim/lua/plugins/editor.lua @@ -72,16 +72,14 @@ return { { "folke/todo-comments.nvim", -- Finds and lists all of the TODO, HACK, BUG, etc comment -- in your project and loads them into a browsable list. - cmd = { "TodoTrouble", "TodoTelescope" }, - event = "LazyFile", + cmd = { "TodoTrouble"}, + event = { "BufReadPost", "BufNewFile", "BufWritePre" }, -- stylua: ignore keys = { { "]t", function() require("todo-comments").jump_next() end, desc = "Next Todo Comment" }, { "[t", function() require("todo-comments").jump_prev() end, desc = "Previous Todo Comment" }, { "xt", "Trouble todo toggle", desc = "Todo (Trouble)" }, { "xT", "Trouble todo toggle filter = {tag = {TODO,FIX,FIXME}}", desc = "Todo/Fix/Fixme (Trouble)" }, - { "st", "TodoTelescope", desc = "Todo" }, - { "sT", "TodoTelescope keywords=TODO,FIX,FIXME", desc = "Todo/Fix/Fixme" }, }, opts = {} }, @@ -106,7 +104,7 @@ return { -- git signs highlights text that has changed since the list -- git commit, and also lets you interactively stage & unstage -- hunks in a commit. - event = "LazyFile", + event = { "BufReadPost", "BufNewFile", "BufWritePre" }, opts = { signs = { add = { text = "▎" }, @@ -194,4 +192,7 @@ return { }, }, }, + { "aymericbeaumet/vim-symlink", + dependencies = { "moll/vim-bbye" }, -- NOTE: Snacks.buddelete also provides this + }, }