From 9ce536875e4dbbebb6d894e11a3877d4fb4f51ca Mon Sep 17 00:00:00 2001 From: brustybee Date: Sun, 5 Apr 2026 20:00:45 +0530 Subject: remove unused plugin config and replace mini-statusline with lualine --- lua/plugins/picker.lua | 47 +---------------------------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) (limited to 'lua/plugins/picker.lua') diff --git a/lua/plugins/picker.lua b/lua/plugins/picker.lua index 478a689..bf60d6a 100644 --- a/lua/plugins/picker.lua +++ b/lua/plugins/picker.lua @@ -1,12 +1,3 @@ -local mini = function(key, action, desc) - return { - key, - "Pick " .. action .. "", - mode = { "n" }, - desc = desc, - } -end - local telescope_builtin = function(key, action, desc) return { key, @@ -17,46 +8,10 @@ local telescope_builtin = function(key, action, desc) end return { - { - "mini.pick", - for_cat = "core.picker.mini", - event = "DeferredUIEnter", - keys = { - mini("ff", "files", "finde files"), - mini("fb", "buffers", "Find open buffers"), - mini("fh", "help", "Find help"), - mini("/", "grep_live", "Live grep"), - - -- MiniExtra - mini("fd", "diagnostic", "Diagnostics"), - mini("fgb", "git_branches", "Git branches"), - mini("fc", "git_commits", "Git commits"), - - -- LSP scopes - mini("fr", "lsp scope='references'", "LSP references"), - mini("ds", "lsp scope='document_symbol'", "Document symbols"), - mini("ws", "lsp scope='workspace_symbol'", "Workspace symbols"), - - mini("ld", "lsp scope='definition'", "Goto definition"), - mini("ltd", "lsp scope='type_definition'", "Goto type definition"), - mini("lD", "lsp scope='declaration'", "Goto declaration"), - mini("lr", "lsp scope='references'", "Goto references"), - mini("lI", "lsp scope='implementation'", "Goto implementation"), - }, - load = function(name) - require("lzextras").loaders.multi({ - name, - "mini.extra", - }) - end, - after = function() - require("mini.pick").setup() - end, - }, { "telescope.nvim", event = "DeferredUIEnter", - for_cat = "core.picker.telescope", + for_cat = "core.picker", keys = { telescope_builtin("ff", "find_files", "Search files in cwd"), telescope_builtin("fb", "buffers", "Search files in cwd"), -- cgit v1.3.1