1
0
Fork 0

nvim: delete unused plugins

This commit is contained in:
Vladimír Dudr 2025-01-02 08:50:00 +01:00
parent c520ab173c
commit 2c165e7dbf

View file

@ -20,27 +20,6 @@ return {
},
},
{
's1n7ax/nvim-window-picker',
config = true,
opts = {
use_winbar = 'always',
fg_color = require('configs.colors').pallete.light0[1],
current_win_hl_color = require('configs.colors').pallete.red[1],
other_win_hl_color = require('configs.colors').pallete.green[1],
},
keys = {
{
'<leader>w',
function()
local picked_window_id = require('window-picker').pick_window() or vim.api.nvim_get_current_win()
vim.api.nvim_set_current_win(picked_window_id)
end,
desc = 'Pick a window',
},
},
},
{ 'AndrewRadev/linediff.vim', cmd = 'Linediff' },
{
@ -65,69 +44,6 @@ return {
},
},
{
'chrisgrieser/nvim-various-textobjs',
keys = {
{
'ii',
function() require('various-textobjs').indentation('inner', 'inner', 'withBlanks') end,
mode = { 'o', 'x' },
desc =
'Inside indent',
},
{
'ai',
function() require('various-textobjs').indentation('outer', 'outer', 'withBlanks') end,
mode = { 'o', 'x' },
desc =
'Around indent',
},
-- { 'iI', function() require('various-textobjs').indentation(true, true) end, mode = { 'o', 'x' }, desc = '' },
-- { 'aI', function() require('various-textobjs').indentation(false, false) end, mode = { 'o', 'x' }, desc = '' },
{ 'iS', function() require('various-textobjs').subword('inner') end, mode = { 'o', 'x' }, desc = '' },
{ 'aS', function() require('various-textobjs').subword('outer') end, mode = { 'o', 'x' }, desc = '' },
{ '|', function() require('various-textobjs').column() end, mode = { 'o', 'x' }, desc = '' },
{ 'L', function() require('various-textobjs').url() end, mode = { 'o', 'x' }, desc = '' },
-- {"YOUR_MAPPING",function() require("various-textobjs").toNextClosingBracket() end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").restOfParagraph() end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").entireBuffer() end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").nearEoL() end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").lineCharacterwise() end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").value(true) end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").value(false) end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").key(true) end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").key(false) end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").diagnostic() end, mode = { "o", "x" }, desc = "" },
--------------------------------------------------------------------------------------
-- put these into the ftplugins or autocms for the filetypes you want to use them with
-- {"YOUR_MAPPING",function() require("various-textobjs").mdlink(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").mdlink(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
--
-- {"YOUR_MAPPING",function() require("various-textobjs").mdFencedCodeBlock(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").mdFencedCodeBlock(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
--
-- {"YOUR_MAPPING",function() require("various-textobjs").cssSelector(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").cssSelector(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
--
-- {"YOUR_MAPPING",function() require("various-textobjs").htmlAttribute(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").htmlAttribute(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
--
-- {"YOUR_MAPPING",function() require("various-textobjs").doubleSquareBrackets(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").doubleSquareBrackets(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
--
-- {"YOUR_MAPPING",function() require("various-textobjs").shellPipe(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").shellPipe(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
},
},
{
'chrisgrieser/nvim-spider',
keys = {
{ '<M-w>', function() require('spider').motion('w') end, mode = { 'n', 'o', 'x' }, desc = 'Spider-w' },
{ '<M-e>', function() require('spider').motion('e') end, mode = { 'n', 'o', 'x' }, desc = 'Spider-e' },
{ '<M-b>', function() require('spider').motion('b') end, mode = { 'n', 'o', 'x' }, desc = 'Spider-b' },
},
},
{
'echasnovski/mini.trailspace',
version = '*',
@ -155,33 +71,6 @@ return {
end,
},
{
'stevearc/overseer.nvim',
config = true,
cmd = {
'OverseerBuild',
'OverseerClearCache',
'OverseerClose',
'OverseerDeleteBundle',
'OverseerInfo',
'OverseerLoadBundle',
'OverseerOpen',
'OverseerQuickAction',
'OverseerRun',
'OverseerRunCmd',
'OverseerSaveBundle',
'OverseerTaskAction',
'OverseerToggle',
},
keys = {
{ '<leader>xx', '<Cmd>OverseerToggle<CR>', desc = 'Overseer toggle' },
{ '<leader>xi', '<Cmd>OverseerInfo<CR>', desc = 'Overseer info' },
{ '<leader>xa', '<Cmd>OverseerTaskAction<CR>', desc = 'Overseer action' },
{ '<leader>xr', '<Cmd>OverseerRun<CR>', desc = 'Overseer run' },
},
},
{
'numToStr/Comment.nvim',
config = true,
@ -214,29 +103,6 @@ return {
end,
},
{
'echasnovski/mini.surround',
version = '*',
event = 'BufEnter',
config = true,
main = 'mini.surround',
},
{
'nvim-neorg/neorg',
enabled = false,
ft = 'norg',
dependencies = { 'nvim-lua/plenary.nvim' },
cmd = { 'Neorg' },
opts = {
load = {
['core.defaults'] = {},
['core.concealer'] = {},
['core.completion'] = { config = { engine = 'nvim-cmp' } },
},
},
},
{ 'fpob/nette.vim', ft = 'nette' },
{ 'ziglang/zig.vim', ft = 'zig' },
{ 'chrisbra/csv.vim', ft = 'csv' },
@ -244,7 +110,6 @@ return {
{ 'towolf/vim-helm' },
{ 'grafana/vim-alloy' },
{ 'williamboman/mason.nvim', cmd = 'Mason', config = true },
{