feat: debloat
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
-- https://github.com/famiu/bufdelete.nvim
|
||||
|
||||
---@type LazyPluginSpec
|
||||
return {
|
||||
"famiu/bufdelete.nvim",
|
||||
keys = {
|
||||
{ "<C-w>q", vim.cmd.Bwipeout, { remap = false, silent = true }, mode = "n" },
|
||||
},
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
-- https://github.com/cbochs/grapple.nvim
|
||||
|
||||
---@type LazyPluginSpec
|
||||
return {
|
||||
"cbochs/grapple.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = function()
|
||||
local grapple = require("grapple")
|
||||
grapple.setup()
|
||||
vim.keymap.set("n", "<leader>'", grapple.toggle_tags)
|
||||
vim.keymap.set("n", "<leader>mm", function()
|
||||
if grapple.exists() then
|
||||
grapple.untag()
|
||||
return
|
||||
end
|
||||
|
||||
for i = 1, 9 do
|
||||
local opts = { name = "m" .. i }
|
||||
if not grapple.exists(opts) then
|
||||
grapple.tag(opts)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
grapple.tag({ name = "m0" })
|
||||
end)
|
||||
|
||||
for i = 1, 9 do
|
||||
local opts = { name = "m" .. i }
|
||||
|
||||
vim.keymap.set("n", "<leader>m" .. i, function()
|
||||
grapple.tag(opts)
|
||||
end)
|
||||
|
||||
vim.keymap.set("n", "<leader>" .. i, function()
|
||||
grapple.select(opts)
|
||||
end)
|
||||
end
|
||||
end,
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
-- https://github.com/lvimuser/lsp-inlayhints.nvim
|
||||
|
||||
---@type LazyPluginSpec
|
||||
return {
|
||||
"lvimuser/lsp-inlayhints.nvim",
|
||||
branch = "anticonceal",
|
||||
config = true,
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
-- https://github.com/nvim-lualine/lualine.nvim
|
||||
|
||||
---@type LazyPluginSpec
|
||||
return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
local custom_moonfly = require("lualine.themes.moonfly")
|
||||
custom_moonfly.normal.c.bg = require("moonfly").palette.bg
|
||||
|
||||
require("lualine").setup({
|
||||
options = {
|
||||
icons_enabled = false,
|
||||
theme = custom_moonfly,
|
||||
component_separators = { left = "", right = "" },
|
||||
section_separators = { left = "", right = "" },
|
||||
always_divide_middle = true,
|
||||
globalstatus = true,
|
||||
},
|
||||
sections = {
|
||||
lualine_a = {},
|
||||
lualine_b = {},
|
||||
lualine_c = {
|
||||
{ "filename", path = 1 },
|
||||
{ "diff" },
|
||||
{ "diagnostics", sources = { "nvim_diagnostic" } },
|
||||
{ require("grapple").statusline, cond = require("grapple").exists },
|
||||
},
|
||||
lualine_x = {
|
||||
"bo:filetype",
|
||||
"encoding",
|
||||
"bo:fileformat",
|
||||
"progress",
|
||||
"location",
|
||||
},
|
||||
lualine_y = {},
|
||||
lualine_z = {},
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
-- https://github.com/simeji/winresizer
|
||||
|
||||
---@type LazyPluginSpec
|
||||
return {
|
||||
"simeji/winresizer",
|
||||
keys = {
|
||||
{ "<C-W>r", vim.cmd.WinResizerStartResize, mode = "n" },
|
||||
},
|
||||
init = function()
|
||||
vim.g.winresizer_vert_resize = "5"
|
||||
vim.g.winresizer_horiz_resize = "5"
|
||||
vim.g.winresizer_start_key = ""
|
||||
end,
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
-- https://github.com/sindrets/winshift.nvim
|
||||
|
||||
---@type LazyPluginSpec
|
||||
return {
|
||||
"sindrets/winshift.nvim",
|
||||
keys = {
|
||||
{ "<C-W>m", vim.cmd.WinShift, mode = "n" },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user