remove redundant/unused plugins

This commit is contained in:
2025-02-08 21:27:29 -05:00
parent 62d405a8bf
commit bbc9f24eac
8 changed files with 250 additions and 482 deletions
+36 -50
View File
@@ -33,20 +33,14 @@ return {
{ -- Arrow
'otavioschwanck/arrow.nvim',
lazy = true,
event = 'LazyFile',
event = 'User LazyFileOpen',
opts = require('data.types').arrow,
},
-- { -- indent-blankline
-- 'lukas-reineke/indent-blankline.nvim',
-- main = 'ibl',
-- lazy = true,
-- event = 'LazyFile',
-- cond = require('data.cond').lualine,
-- },
---@module "neominimap.config.meta"
{ -- NeoMiniMap
'Isrothy/neominimap.nvim',
lazy = false,
-- event = 'User LazyFileOpen',
keys = require('data.keys').minimap.func,
init = require('data.types').minimap.init(),
cond = require('data.types').minimap.cond(),
@@ -76,9 +70,8 @@ return {
},
{ -- Recorder
'chrisgrieser/nvim-recorder',
event = 'VeryLazy',
lazy = true,
dependencies = require('data.deps').recorder,
opts = {},
keys = require('data.keys').recorder,
},
{ -- Comment Box
@@ -91,16 +84,16 @@ return {
cond = require('data.cond').todo,
enabled = true,
},
{ -- Rainbow Delimeters
'HiPhish/rainbow-delimiters.nvim',
},
{ -- Colorful window separators
'nvim-zh/colorful-winsep.nvim',
enabled = false,
lazy = true,
opts = require('data.types').winsep,
event = { 'WinLeave' },
},
-- { -- Rainbow Delimeters
-- 'HiPhish/rainbow-delimiters.nvim',
-- },
-- { -- Colorful window separators
-- 'nvim-zh/colorful-winsep.nvim',
-- enabled = false,
-- lazy = true,
-- opts = require('data.types').winsep,
-- event = { 'WinLeave' },
-- },
{ -- Auto Cursorline
'delphinus/auto-cursorline.nvim',
cond = require('data.func').check_global_var('auto_cursorline', true, true),
@@ -123,10 +116,10 @@ return {
optional = true,
opts = require('data.types').noice,
},
{ -- Duck
'tamton-aquib/duck.nvim',
config = require('data.types').duck,
},
-- { -- Duck
-- 'tamton-aquib/duck.nvim',
-- config = require('data.types').duck,
-- },
{ -- Smear Cursor
'sphamba/smear-cursor.nvim',
event = 'VeryLazy',
@@ -135,31 +128,24 @@ return {
and not require('data.func').is_kitty()
end,
opts = require('data.types').smearcursor,
specs = {
-- disable mini.animate cursor
{
'echasnovski/mini.animate',
optional = true,
opts = {
cursor = { enable = false },
},
},
},
},
{ -- Unimpaired
'tpope/vim-unimpaired',
config = true,
},
{ -- Vim-dirtytalk
'psliwka/vim-dirtytalk',
build = ':DirtytalkUpdate',
init = function()
vim.cmd('set spelllang=en,programming')
end,
},
{ -- Academic
'ficcdaf/academic.nvim',
-- optional: only load for certain filetypes
ft = { 'markdown', 'tex' },
keys = require('data.keys').smearcursor,
},
-- { -- Unimpaired
-- 'tpope/vim-unimpaired',
-- config = true,
-- },
-- { -- Vim-dirtytalk
-- 'psliwka/vim-dirtytalk',
-- build = ':DirtytalkUpdate',
-- init = require('data.types').dirtytalk.init,
-- },
-- { -- Academic
-- 'ficcdaf/academic.nvim',
-- -- optional: only load for certain filetypes
-- ft = require('data.ft').academic,
-- },
-- { -- Vim-cool
-- 'romainl/vim-cool',
-- lazy = false,
-- },
}
+14 -10
View File
@@ -12,16 +12,20 @@ return {
keys = require('data.keys').gist.func,
config = true,
},
{ -- LazyGit
'kdheepak/lazygit.nvim',
lazy = true,
cmd = require('data.cmd').lazygit,
keys = require('data.keys').lazygit,
dependencies = require('data.deps').lazygit,
config = function()
require('telescope').load_extension('lazygit')
end,
},
-- { -- LazyGit
-- 'kdheepak/lazygit.nvim',
-- lazy = true,
-- cmd = require('data.cmd').lazygit,
-- keys = require('data.keys').lazygit,
-- dependencies = require('data.deps').lazygit,
-- config = function()
-- if
-- require('data.func').check_global_var('use_telescope', true, false)
-- then
-- require('telescope').load_extension('lazygit')
-- end
-- end,
-- },
{ -- Thanks/github-stars
'jsongerber/thanks.nvim',
lazy = true,
+9 -9
View File
@@ -46,13 +46,13 @@ return {
'gonstoll/wezterm-types',
dev = true,
},
{ -- Flutter-tools
'akinsho/flutter-tools.nvim',
lazy = false,
dependencies = {
'nvim-lua/plenary.nvim',
'stevearc/dressing.nvim', -- optional for vim.ui.select
},
opts = {},
},
-- { -- Flutter-tools
-- 'akinsho/flutter-tools.nvim',
-- lazy = false,
-- dependencies = {
-- 'nvim-lua/plenary.nvim',
-- 'stevearc/dressing.nvim', -- optional for vim.ui.select
-- },
-- opts = {},
-- },
}
+4 -4
View File
@@ -10,11 +10,11 @@ return {
event = 'VeryLazy',
opts = {},
},
-- { -- Mini Indentscope
-- 'echasnovski/mini.indentscope',
-- opts = require('data.types').miniindentscope.opts,
-- init = require('data.types').miniindentscope.init,
-- },
{ -- Mini Indentscope
'echasnovski/mini.indentscope',
opts = require('data.types').miniindentscope.opts,
init = require('data.types').miniindentscope.init,
},
{ -- mini.align
'echasnovski/mini.align',
-206
View File
@@ -1,206 +0,0 @@
-- ╭─────────────────────────────────────────────────────────╮
-- │ Telescope Plugins │
-- ╰─────────────────────────────────────────────────────────╯
---@module "plugins.telescope"
--- This module defines the telescope plugins specs for the Neovim configuration.
local P = { -- Define Telescope Plugins Specs
{ -- Telescope All Recent
'prochri/telescope-all-recent.nvim',
dependencies = {
'nvim-telescope/telescope.nvim',
'kkharji/sqlite.lua',
-- optional, if using telescope for vim.ui.select
'stevearc/dressing.nvim',
},
opts = {
default = {
disable = true, -- disable any unkown pickers (recommended)
use_cwd = true, -- differentiate scoring for each picker based on cwd
sorting = 'frecency', -- sorting: options: 'recent' and 'frecency'
},
},
},
{ -- Telescope Heading
'crispgm/telescope-heading.nvim',
dependencies = {
'nvim-telescope/telescope.nvim',
},
config = function()
require('telescope').setup({
extensions = {
heading = {
treesitter = true,
},
},
})
require('telescope').load_extension('heading')
end,
},
{ -- Telescope Spell checker
'matkrin/telescope-spell-errors.nvim',
lazy = true,
cmd = require('data.cmd').spell_errors,
config = function()
require('telescope').load_extension('spell_errors')
end,
dependencies = require('data.deps').needs_telescope,
},
{ -- Telescope Toggleterm
'ryanmsnyder/toggleterm-manager.nvim',
dependencies = {
'akinsho/nvim-toggleterm.lua',
'nvim-telescope/telescope.nvim',
'nvim-lua/plenary.nvim', -- only needed because it's a dependency of telescope
},
config = true,
keys = require('data.keys').telescope.toggleterm,
},
{ -- Telescope Lazy
'nvim-telescope/telescope.nvim',
dependencies = 'tsakirist/telescope-lazy.nvim',
keys = require('data.keys').telescope.lazy,
},
{ -- Telescope Luasnip
'benfowler/telescope-luasnip.nvim',
module = 'telescope._extensions.luasnip', -- if you wish to lazy-load
config = function()
require('telescope').load_extension('luasnip')
end,
},
{ -- Telescope Git Worktree
'ThePrimeagen/git-worktree.nvim',
},
{ -- UndoTree Telescope extension
'nvim-telescope/telescope.nvim',
lazy = true,
event = 'VeryLazy',
dependencies = {
'nvim-lua/plenary.nvim',
'debugloop/telescope-undo.nvim',
'jonarrien/telescope-cmdline.nvim',
},
opts = function()
require('telescope').load_extension('undo')
vim.keymap.set('n', '<leader>uU', '<cmd>Telescope undo<cr>')
return {
extensions = {
undo = {},
},
}
end,
},
{ -- Telescope Software Licenses
'chip/telescope-software-licenses.nvim',
dependencies = {
'nvim-telescope/telescope.nvim',
'nvim-lua/plenary.nvim',
},
config = function()
require('telescope').load_extension('software-licenses')
end,
},
{ -- Telescope Conventional Commits
'olacin/telescope-cc.nvim',
config = function()
require('telescope').load_extension('conventional_commits')
end,
},
{ -- Telescope File Browser
'nvim-telescope/telescope-file-browser.nvim',
dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' },
config = function()
require('telescope').load_extension('file_browser')
end,
keys = require('data.keys').telescope.filebrowser,
},
{ -- Telescope Git Diffs
'paopaol/telescope-git-diffs.nvim',
requires = {
'nvim-lua/plenary.nvim',
'sindrets/diffview.nvim',
},
},
{ -- Fzf Lua
'ibhagwan/fzf-lua',
opts = {
'telescope',
fzf_colors = true,
oldfiles = {
include_current_session = true,
},
previewers = {
builtin = {
syntax_limit_b = 1024 * 100, -- 100KB
},
},
grep = {
rg_glob = true, -- enable glob parsing
glob_flag = '--iglob', -- case insensitive globs
glob_separator = '%s%-%-', -- query separator pattern (lua): ' --'
},
},
init = function()
require('fzf-lua').register_ui_select(function(_, items)
local min_h, max_h = 0.15, 0.70
local h = (#items + 4) / vim.o.lines
if h < min_h then
h = min_h
elseif h > max_h then
h = max_h
end
return { winopts = { height = h, width = 0.60, row = 0.40 } }
end)
end,
},
{
'danielfalk/smart-open.nvim',
branch = '0.2.x',
config = function()
require('telescope').load_extension('smart_open')
end,
dependencies = {
'kkharji/sqlite.lua',
-- Only required if using match_algorithm fzf
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' },
-- Optional. If installed, native fzy will be used when match_algorithm is fzy
{ 'nvim-telescope/telescope-fzy-native.nvim' },
},
},
{ -- Telescope Egrepify
'fdschmidt93/telescope-egrepify.nvim',
lazy = false,
opts = {},
dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' },
},
}
-- if require('data.func').check_global_var('use_fzf_lua', true, false) then
-- P = { { import = 'lazyvim.plugins.extras.editor.fzf' } }
-- end
--
-- if require('data.func').check_global_var('use_fzf_lua', true, false) then
-- table.insert(P, 1, { import = 'lazyvim.plugins.extras.editor.fzf' })
-- table.insert(P, 2, {
-- 'ibhagwan/fzf-lua',
-- lazy = true,
-- event = 'VeryLazy',
-- opts = {
-- previewers = {
-- builtin = {
-- extensions = {
-- -- neovim terminal only supports `viu` block output
-- ['png'] = { 'viu', '-b' },
-- -- by default the filename is added as last argument
-- -- if required, use `{file}` for argument positioning
-- ['svg'] = { 'viu', '-b' },
-- ['jpg'] = { 'viu', '-b' },
-- },
-- },
-- },
-- },
-- })
-- end
return P
+15 -14
View File
@@ -72,14 +72,14 @@ return {
return not vim.g.neovide
end,
},
{ -- ToggleTerm
'akinsho/toggleterm.nvim',
event = 'TermOpen',
keys = require('data.keys').toggleterm,
config = function()
require('toggleterm').setup(require('data.types').toggleterm)
end,
},
-- { -- ToggleTerm
-- 'akinsho/toggleterm.nvim',
-- event = 'TermOpen',
-- keys = require('data.keys').toggleterm,
-- config = function()
-- require('toggleterm').setup(require('data.types').toggleterm)
-- end,
-- },
{ -- Kitty-Runner
'jghauser/kitty-runner.nvim',
cond = require('data.func').is_kitty(),
@@ -120,10 +120,11 @@ return {
end,
cond = require('data.func').is_tmux(),
},
{ -- Ghostyy
'isak102/ghostty.nvim',
config = function()
require('ghostty').setup()
end,
},
-- { -- Ghostyy
-- 'isak102/ghostty.nvim',
-- cond = require('data.func').is_ghostty(),
-- config = function()
-- require('ghostty').setup()
-- end,
-- },
}
+128 -116
View File
@@ -5,14 +5,12 @@
-- ╰─────────────────────────────────────────────────────────╯
return {
{ -- Tokyonight
'folke/tokyonight.nvim',
lazy = true, -- Override
name = 'tokyonight',
opts = {
style = 'night',
},
},
-- { -- Tokyonight
-- 'folke/tokyonight.nvim',
-- lazy = true, -- Override
-- name = 'tokyonight',
-- opts = require('data.types').tokyonight.opts,
-- },
{ -- Catppuccin
'catppuccin/nvim',
lazy = false, -- Override
@@ -20,113 +18,127 @@ return {
name = 'catppuccin',
opts = require('data.types').catppuccin,
},
{ -- Ayu
'Shatur/neovim-ayu',
lazy = true,
name = 'ayu',
},
{ -- Dracula
'Mofiqul/dracula.nvim',
lazy = true,
name = 'dracula',
},
{ -- Eldritch
'eldritch-theme/eldritch.nvim',
lazy = true,
name = 'eldritch',
},
{ -- Flow
'0xstepit/flow.nvim',
lazy = true,
name = 'flow',
},
{ -- Github-theme
'projekt0n/github-nvim-theme',
lazy = true,
name = 'github-nvim-theme',
},
{ -- Gruvbox
'ellisonleao/gruvbox.nvim',
lazy = true,
name = 'gruvbox',
},
{ -- Kanagawa
'rebelot/kanagawa.nvim',
lazy = true,
name = 'kanagawa',
},
{ -- Monochrome
'kdheepak/monochrome.nvim',
lazy = true,
name = 'monochrome',
},
{ -- NeoFusion
'diegoulloao/neofusion.nvim',
lazy = true,
name = 'neofusion',
},
{ -- Nord
'shaunsingh/nord.nvim',
lazy = true,
name = 'nord',
},
{ -- One Dark Pro
'olimorris/onedarkpro.nvim',
lazy = true,
name = 'onedarkpro',
},
{ -- Oxocarbon
'nyoom-engineering/oxocarbon.nvim',
lazy = true,
name = 'oxocarbon',
},
{ -- Paper
'https://gitlab.com/yorickpeterse/vim-paper.git',
lazy = true,
name = 'vim-paper',
},
{ -- Rose-Pine
'rose-pine/neovim',
name = 'rose-pine',
lazy = true,
},
{ -- Umbra
'LZDQ/umbra.nvim',
lazy = true,
name = 'umbra',
},
{ -- Vim-Dim (ANSI16 colors)
'jeffkreeftmeijer/vim-dim',
lazy = true,
name = 'dim',
},
{ -- Vim-noctua (ANSI16 colors)
'noahfrederick/vim-noctu',
lazy = true,
name = 'noctu',
},
{ -- Zenbones
'zenbones-theme/zenbones.nvim',
name = 'zenbones',
lazy = true,
dependencies = require('data.deps').zenbones,
},
-- { -- Monoglow
-- 'wnkz/monoglow.nvim',
-- lazy = false,
-- priority = 1000,
-- opts = {},
-- },
-- {
-- 'aileot/ex-colors.nvim',
-- lazy = true,
-- cmd = 'ExColors',
-- opts = {
-- colors_dir = vim.fn.stdpath('config') .. '/colors',
-- },
-- },
-- { -- Ayu
-- 'Shatur/neovim-ayu',
-- lazy = true,
-- name = 'ayu',
-- },
-- { -- Dracula
-- 'Mofiqul/dracula.nvim',
-- lazy = true,
-- name = 'dracula',
-- },
-- { -- Eldritch
-- 'eldritch-theme/eldritch.nvim',
-- lazy = true,
-- name = 'eldritch',
-- },
-- { -- Flow
-- '0xstepit/flow.nvim',
-- lazy = true,
-- name = 'flow',
-- },
-- { -- Github-theme
-- 'projekt0n/github-nvim-theme',
-- lazy = true,
-- name = 'github-nvim-theme',
-- },
-- { -- Gruvbox
-- 'ellisonleao/gruvbox.nvim',
-- lazy = true,
-- name = 'gruvbox',
-- },
-- { -- Kanagawa
-- 'rebelot/kanagawa.nvim',
-- lazy = true,
-- name = 'kanagawa',
-- },
-- { -- Monochrome
-- 'kdheepak/monochrome.nvim',
-- lazy = true,
-- name = 'monochrome',
-- },
-- { -- NeoFusion
-- 'diegoulloao/neofusion.nvim',
-- lazy = true,
-- name = 'neofusion',
-- },
-- { -- Nord
-- 'shaunsingh/nord.nvim',
-- lazy = true,
-- name = 'nord',
-- },
-- { -- One Dark Pro
-- 'olimorris/onedarkpro.nvim',
-- lazy = true,
-- name = 'onedarkpro',
-- },
-- { -- Oxocarbon
-- 'nyoom-engineering/oxocarbon.nvim',
-- lazy = true,
-- name = 'oxocarbon',
-- },
-- { -- Paper
-- 'https://gitlab.com/yorickpeterse/vim-paper.git',
-- lazy = true,
-- name = 'vim-paper',
-- },
-- { -- Rose-Pine
-- 'rose-pine/neovim',
-- name = 'rose-pine',
-- lazy = true,
-- },
-- { -- Umbra
-- 'LZDQ/umbra.nvim',
-- lazy = true,
-- name = 'umbra',
-- },
-- { -- Vim-Dim (ANSI16 colors)
-- 'jeffkreeftmeijer/vim-dim',
-- lazy = true,
-- name = 'dim',
-- },
-- { -- Vim-noctua (ANSI16 colors)
-- 'noahfrederick/vim-noctu',
-- lazy = true,
-- name = 'noctu',
-- },
-- { -- Zenbones
-- 'zenbones-theme/zenbones.nvim',
-- name = 'zenbones',
-- lazy = true,
-- dependencies = require('data.deps').zenbones,
-- },
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ UTILITIES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
{ -- Transparent
'xiyaowong/transparent.nvim',
lazy = true,
keys = require('data.keys').transparent,
cmd = require('data.cmd').transparent,
},
{ -- Auto Dark Mode
'f-person/auto-dark-mode.nvim',
lazy = true,
opts = require('data.types').auto_dark_mode,
cond = require('data.cond').auto_dark_mode,
},
{ -- Highlight colors
'brenoprata10/nvim-highlight-colors',
event = 'BufReadPre',
opts = require('data.types').hightlight_colors,
},
-- { -- Transparent
-- 'xiyaowong/transparent.nvim',
-- lazy = true,
-- keys = require('data.keys').transparent,
-- cmd = require('data.cmd').transparent,
-- },
-- { -- Auto Dark Mode
-- 'f-person/auto-dark-mode.nvim',
-- lazy = true,
-- opts = require('data.types').auto_dark_mode,
-- cond = require('data.cond').auto_dark_mode,
-- },
-- { -- Highlight colors
-- 'brenoprata10/nvim-highlight-colors',
-- event = 'BufReadPre',
-- opts = require('data.types').hightlight_colors,
-- },
}
+44 -73
View File
@@ -40,12 +40,12 @@ return {
dependencies = require('data.deps').gx,
config = true,
},
{ -- Unception
'samjwill/nvim-unception',
init = function()
vim.g.unception_block_while_host_edits = true
end,
},
-- { -- Unception
-- 'samjwill/nvim-unception',
-- init = function()
-- vim.g.unception_block_while_host_edits = true
-- end,
-- },
{ -- Codesnap
'mistricky/codesnap.nvim',
cond = require('data.func').check_global_var('codesnap', true, true),
@@ -127,7 +127,7 @@ return {
},
{ -- Discord Presence
'IogaMaster/neocord',
event = 'VeryLazy',
event = 'LazyFile',
lazy = true,
cond = require('data.func').check_global_var('usediscord', true, true),
opts = {
@@ -170,26 +170,17 @@ return {
cmd_abbrev('helpclose', 'FloatingHelpClose')
end,
},
{ -- Timer
'alex-popov-tech/timer.nvim',
lazy = true,
},
{ -- Image-Clip
'HakonHarnes/img-clip.nvim',
lazy = true,
cmd = require('data.cmd').imgclip,
opts = {
default = {
embed_image_as_base64 = false,
prompt_for_file_name = false,
drag_and_drop = {
insert_mode = true,
},
-- required for Windows users
use_absolute_path = true,
},
},
},
-- { -- Timer
-- 'alex-popov-tech/timer.nvim',
-- lazy = true,
-- },
-- { -- Image-Clip
-- 'HakonHarnes/img-clip.nvim',
-- lazy = true,
-- cmd = require('data.cmd').imgclip,
-- opts = require('data.types').imgclip.opts,
-- },
{ -- Multicursor
'jake-stewart/multicursor.nvim',
branch = '1.0',
@@ -208,17 +199,18 @@ return {
})
end,
},
{ -- FloatTerm
'voldikss/vim-floaterm',
lazy = true,
event = 'TermOpen',
},
{ -- bufferlist
'EL-MASTOR/bufferlist.nvim',
lazy = true,
keys = { { '<Leader>bl', desc = 'Open bufferlist' } }, -- keymap to load the plugin, it should be the same as keymap.open_buflist
opts = {},
},
-- { -- FloatTerm
-- 'voldikss/vim-floaterm',
-- lazy = true,
-- event = 'TermOpen',
-- },
-- { -- bufferlist
-- 'EL-MASTOR/bufferlist.nvim',
-- lazy = true,
-- keys = { { '<Leader>bl', desc = 'Open bufferlist' } }, -- keymap to load the plugin, it should be the same as keymap.open_buflist
-- opts = {},
-- },
{ -- showkeys
'nvchad/showkeys',
lazy = true,
@@ -242,46 +234,25 @@ return {
'jrop/u.nvim',
lazy = true,
},
{ -- Co-op (Neovim Co-routines Framework)
'gregorias/coop.nvim',
lazy = false,
},
{
'folke/snacks.nvim',
opts = function()
-- Toggle the profiler
Snacks.toggle.profiler():map('<leader>qp')
-- Toggle the profiler highlights
Snacks.toggle.profiler_highlights():map('<leader>qh')
end,
keys = {
{
'<leader>qb',
function()
Snacks.profiler.scratch()
end,
desc = 'Profiler Scratch Bufer',
},
},
},
-- optional lualine component to show captured events
-- when the profiler is running
{
'nvim-lualine/lualine.nvim',
cond = require('data.cond').lualine,
opts = function(_, opts)
table.insert(opts.sections.lualine_x, Snacks.profiler.status())
end,
},
{
'marcussimonsen/let-it-snow.nvim',
lazy = true,
cmd = 'LetItSnow', -- Wait with loading until command is run
opts = {},
},
-- { -- Co-op (Neovim Co-routines Framework)
-- 'gregorias/coop.nvim',
-- lazy = false,
-- },
-- {
-- 'marcussimonsen/let-it-snow.nvim',
-- lazy = true,
-- cmd = 'LetItSnow', -- Wait with loading until command is run
-- opts = {},
-- },
{ -- yazi
'mikavilpas/yazi.nvim',
lazy = true,
cmd = 'Yazi',
},
-- { -- TyprStats
-- 'nvzone/typr',
-- cmd = 'TyprStats',
-- dependencies = 'nvzone/volt',
-- opts = {},
-- },
}