From bec6a2f7efbfe8505fadd67b8a0534cd6952854b Mon Sep 17 00:00:00 2001 From: naps62 Date: Mon, 17 Aug 2026 09:05:38 +0000 Subject: [PATCH] chore(plugins): purge typing-era tooling Agent-driven work shifted nvim from writing code to reading and reviewing it. Dropped: - supermaven-nvim: inline AI completion duplicates the agent - nvim-spectre: project-wide find/replace is now a prose request - tailwind-tools: authoring aid for markup not hand-written - editing.lua: hop.nvim plus ~85 lines of commented-out plugins (hardtime, ufo, local-highlight) - telescope.nvim: second picker; gd/gv/gr now use fzf-lua, which was already bound to lsp_references Co-Authored-By: Claude Opus 5 --- lazy-lock.json | 5 -- lua/configs/cmp.lua | 2 - lua/configs/lspconfig.lua | 6 +-- lua/plugins/autocomplete.lua | 34 ------------- lua/plugins/editing.lua | 98 ------------------------------------ lua/plugins/find-replace.lua | 10 ---- lua/plugins/git.lua | 6 +-- lua/plugins/lsp.lua | 13 ----- 8 files changed, 4 insertions(+), 170 deletions(-) delete mode 100644 lua/plugins/editing.lua delete mode 100644 lua/plugins/find-replace.lua diff --git a/lazy-lock.json b/lazy-lock.json index 6f51cb4..1e104e1 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -15,7 +15,6 @@ "fzf-lua": { "branch": "main", "commit": "988416cc782dfe28bff3f0da9b8c943b236cd86a" }, "git-conflict.nvim": { "branch": "main", "commit": "a1badcd070d176172940eb55d9d59029dad1c5a6" }, "gitsigns.nvim": { "branch": "main", "commit": "25050e4ed39e628282831d4cbecb1850454ce915" }, - "hop.nvim": { "branch": "master", "commit": "08ddca799089ab96a6d1763db0b8adc5320bf050" }, "indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" }, "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, "lspkind.nvim": { "branch": "master", "commit": "c7274c48137396526b59d86232eabcdc7fed8a32" }, @@ -30,7 +29,6 @@ "nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" }, "nvim-lsp-endhints": { "branch": "main", "commit": "a86e7ca7a92ef003008d7eb5d153c63bcc89f79c" }, "nvim-lspconfig": { "branch": "master", "commit": "a683e0ddf0cf64c6cd689e18ffb480ade3c162b7" }, - "nvim-spectre": { "branch": "master", "commit": "72f56f7585903cd7bf92c665351aa585e150af0f" }, "nvim-tree.lua": { "branch": "master", "commit": "3fb91e18a727ecc0385637895ec397dea90be42a" }, "nvim-treesitter": { "branch": "master", "commit": "cf12346a3414fa1b06af75c79faebe7f76df080a" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "5ca4aaa6efdcc59be46b95a3e876300cfead05ef" }, @@ -40,9 +38,6 @@ "ron.vim": { "branch": "master", "commit": "f749e543975a82e8dd9a6e7df9600a1c098ae800" }, "rustaceanvim": { "branch": "main", "commit": "88575b98bb9937fb9983ddec5e532b67e75ce677" }, "statuscol.nvim": { "branch": "main", "commit": "c46172d0911aa5d49ba5f39f4351d1bb7aa289cc" }, - "supermaven-nvim": { "branch": "main", "commit": "07d20fce48a5629686aefb0a7cd4b25e33947d50" }, - "tailwind-tools": { "branch": "master", "commit": "fbe982901d4508b0dcd80e07addf0fcb6dab6c49" }, - "telescope.nvim": { "branch": "master", "commit": "7d324792b7943e4aa16ad007212e6acc6f9fe335" }, "tint.nvim": { "branch": "master", "commit": "586e87f00c8b0f5e857cefe10839e41f3e8c6d01" }, "todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" }, "trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" }, diff --git a/lua/configs/cmp.lua b/lua/configs/cmp.lua index cdb2af7..68271aa 100644 --- a/lua/configs/cmp.lua +++ b/lua/configs/cmp.lua @@ -3,8 +3,6 @@ local lspkind = require "lspkind" local nvchad_options = require "nvchad.configs.cmp" local options = { - -- Supermaven handles AI completion inline (ghost text, accept with ); - -- it is not a cmp source, so it is intentionally absent here. sources = { { name = "nvim_lsp" }, { name = "luasnip" }, diff --git a/lua/configs/lspconfig.lua b/lua/configs/lspconfig.lua index 11923ec..40fa2e6 100644 --- a/lua/configs/lspconfig.lua +++ b/lua/configs/lspconfig.lua @@ -84,13 +84,13 @@ M.on_attach = function(client, bufnr) map("n", "rn", vim.lsp.buf.rename, opts "Rename") map("n", "gd", function() - require("telescope.builtin").lsp_definitions() + require("fzf-lua").lsp_definitions() end, opts "LSP Definitions") map("n", "gv", function() - require("telescope.builtin").lsp_definitions { jump_type = "vsplit" } + require("fzf-lua").lsp_definitions { jump1_action = require("fzf-lua").actions.file_vsplit } end, opts "LSP Definitions (vertical split)") map("n", "gr", function() - require("telescope.builtin").lsp_references() + require("fzf-lua").lsp_references() end, opts "LSP References") end diff --git a/lua/plugins/autocomplete.lua b/lua/plugins/autocomplete.lua index bb44056..5efc2e4 100644 --- a/lua/plugins/autocomplete.lua +++ b/lua/plugins/autocomplete.lua @@ -6,39 +6,5 @@ return { end, }, - { - "supermaven-inc/supermaven-nvim", - event = "VeryLazy", - config = function() - require("supermaven-nvim").setup { - keymaps = { - accept_suggestion = "", - }, - -- disable_inline_completion = true, - } - end, - }, - { "onsails/lspkind.nvim", event = "VeryLazy" }, - - -- { - -- "zbirenbaum/copilot.lua", - -- cmd = "Copilot", - -- event = "VeryLazy", - -- config = function() - -- require("copilot").setup({ - -- suggestion = { enabled = false }, - -- panel = { enabled = false }, - -- }) - -- end, - -- }, - -- - -- { - -- "zbirenbaum/copilot-cmp", - -- event = "VeryLazy", - -- dependencies = { "hrsh7th/cmp-nvim-lsp" }, - -- config = function() - -- require("copilot_cmp").setup() - -- end, - -- }, } diff --git a/lua/plugins/editing.lua b/lua/plugins/editing.lua deleted file mode 100644 index 8ee4ae7..0000000 --- a/lua/plugins/editing.lua +++ /dev/null @@ -1,98 +0,0 @@ -return { - -- { - -- "m4xshen/hardtime.nvim", - -- lazy = false, - -- dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" }, - -- opts = { - -- disable_mouse = false, - -- restricted_keys = { - -- ["w"] = { "n", "x" }, - -- ["W"] = { "n", "x" }, - -- ["b"] = { "n", "x" }, - -- ["B"] = { "n", "x" }, - -- }, - -- }, - -- }, - - { - "smoka7/hop.nvim", - event = "VeryLazy", - version = "*", - opts = { - keys = "etovxqpdygfblzhckisuran", - }, - keys = { - { - "ff", - function() - local dir = require("hop.hint").HintDirection - require("hop").hint_char1 { direction = dir.AFTER_CURSOR } - end, - desc = "go to char (forward)", - }, - { - "FF", - function() - local dir = require("hop.hint").HintDirection - require("hop").hint_char1 { direction = dir.BEFORE_CURSOR } - end, - desc = "go to char (backward)", - }, - { "2ff", "HopChar2", desc = "go to bigram" }, - { "fl", "HopLineStart" }, - { "fp", "HopPattern" }, - { "fw", "HopWord" }, - }, - }, - - -- { - -- "kevinhwang91/nvim-ufo", - -- dependencies = { "kevinhwang91/promise-async" }, - -- lazy = false, - -- config = function() - -- vim.o.foldcolumn = "1" -- '0' is not bad - -- vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value - -- vim.o.foldlevelstart = 99 - -- vim.o.foldenable = true - -- - -- local capabilities = vim.lsp.protocol.make_client_capabilities() - -- capabilities.textDocument.foldingRange = { - -- dynamicRegistration = false, - -- lineFoldingOnly = true, - -- } - -- local language_servers = vim.lsp.get_clients() -- or list servers manually like {'gopls', 'clangd'} - -- for _, ls in ipairs(language_servers) do - -- require("lspconfig")[ls].setup { - -- capabilities = capabilities, - -- -- you can add other fields for setting up lsp server in this table - -- } - -- end - -- require("ufo").setup() - -- end, - -- - -- keys = { - -- { - -- "zR", - -- function() - -- require("ufo").openAllFolds() - -- end, - -- desc = "Open all folds", - -- }, - -- { - -- "zM", - -- function() - -- require("ufo").closeAllFolds() - -- end, - -- desc = "Close all folds", - -- }, - -- }, - -- }, - - -- { - -- "tzachar/local-highlight.nvim", - -- event = "VeryLazy", - -- config = function() - -- require("local-highlight").setup() - -- end, - -- }, -} diff --git a/lua/plugins/find-replace.lua b/lua/plugins/find-replace.lua deleted file mode 100644 index 2fae998..0000000 --- a/lua/plugins/find-replace.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - { - "windwp/nvim-spectre", - dependencies = { "nvim-lua/plenary.nvim" }, - -- stylua: ignore - keys = { - { "S", function() require("spectre").open() end, desc = "Replace in files (Spectre)", }, - }, - }, -} diff --git a/lua/plugins/git.lua b/lua/plugins/git.lua index 904f7ab..9c23200 100644 --- a/lua/plugins/git.lua +++ b/lua/plugins/git.lua @@ -5,11 +5,7 @@ return { dependencies = { "nvim-lua/plenary.nvim", -- required "sindrets/diffview.nvim", -- optional - Diff integration - - -- Only one of these is needed. - "nvim-telescope/telescope.nvim", -- optional - "ibhagwan/fzf-lua", -- optional - -- "echasnovski/mini.pick", -- optional + "ibhagwan/fzf-lua", -- optional - picker }, config = true, keys = { diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index d844d60..30f8606 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -55,17 +55,4 @@ return { }, }, }, - - { - "luckasRanarison/tailwind-tools.nvim", - name = "tailwind-tools", - ft = { "html", "css", "scss", "javascriptreact", "typescriptreact", "vue", "svelte", "astro" }, - build = ":UpdateRemotePlugins", - dependencies = { - "nvim-treesitter/nvim-treesitter", - "nvim-telescope/telescope.nvim", -- optional - "neovim/nvim-lspconfig", -- optional - }, - opts = {}, -- your configuration - }, }