deleted some unused plugins
This commit is contained in:
parent
c4581bfc84
commit
220fe9ce0f
@ -1,54 +0,0 @@
|
||||
return {
|
||||
'rebelot/heirline.nvim',
|
||||
dependencies = { 'Zeioth/heirline-components.nvim' },
|
||||
opts = function()
|
||||
local compon = require 'heirline-components.all'
|
||||
return {
|
||||
tabline = { -- UI upper bar
|
||||
compon.component.tabline_conditional_padding(),
|
||||
compon.component.tabline_buffers(),
|
||||
compon.component.fill { hl = { bg = 'tabline_bg' } },
|
||||
compon.component.tabline_tabpages()
|
||||
},
|
||||
winbar = { -- UI breadcrumbs bar
|
||||
init = function(self) self.bufnr = vim.api.nvim_get_current_buf() end,
|
||||
fallthrough = false,
|
||||
compon.component.breadcrumbs_when_inactive(),
|
||||
compon.component.breadcrumbs { hl = compon.hl.get_attributes('winbar', true) },
|
||||
},
|
||||
statuscolumn = { -- UI left column
|
||||
init = function(self) self.bufnr = vim.api.nvim_get_current_buf() end,
|
||||
compon.component.foldcolumn(),
|
||||
compon.component.fill(),
|
||||
compon.component.numbercolumn(),
|
||||
compon.component.signcolumn(),
|
||||
} or nil,
|
||||
statusline = { -- UI statusbar
|
||||
hl = { fg = 'fg', bg = 'bg' },
|
||||
compon.component.mode { mode_text = { pad_text = 'left' } },
|
||||
compon.component.git_branch(),
|
||||
compon.component.file_info { filetype = false, filename = {}, file_modified = {}, file_read_only = {} },
|
||||
compon.component.git_diff(),
|
||||
compon.component.diagnostics(),
|
||||
compon.component.fill(),
|
||||
compon.component.cmd_info { search_count = {} },
|
||||
compon.component.fill(),
|
||||
-- compon.component.lsp(),
|
||||
compon.component.compiler_state(),
|
||||
compon.component.virtual_env(),
|
||||
compon.component.file_encoding(),
|
||||
compon.component.nav(),
|
||||
},
|
||||
}
|
||||
end,
|
||||
config = function(_, opts)
|
||||
local heirline = require 'heirline'
|
||||
lib = require 'heirline-components.all'
|
||||
|
||||
-- Setup
|
||||
lib.init.subscribe_to_events()
|
||||
heirline.load_colors(lib.hl.get_colors())
|
||||
heirline.setup(opts)
|
||||
end,
|
||||
enabled = false
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
return {
|
||||
'vhyrro/luarocks.nvim',
|
||||
priority = 1000, -- We'd like this plugin to load first out of the rest
|
||||
config = true, -- This automatically runs `require("luarocks-nvim").setup()`
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
return {
|
||||
'SmiteshP/nvim-navbuddy',
|
||||
dependencies = {
|
||||
'neovim/nvim-lspconfig',
|
||||
'SmiteshP/nvim-navic',
|
||||
'MunifTanjim/nui.nvim'
|
||||
},
|
||||
config = function()
|
||||
local actions = require('nvim-navbuddy.actions')
|
||||
local navbuddy = require('nvim-navbuddy')
|
||||
navbuddy.setup {
|
||||
mappings = {
|
||||
['<esc>'] = actions.close, -- Close and cursor to original location
|
||||
['q'] = actions.close,
|
||||
['j'] = actions.next_sibling, -- down
|
||||
['k'] = actions.previous_sibling, -- up
|
||||
['h'] = actions.parent, -- Move to left panel
|
||||
['l'] = actions.children, -- Move to right panel
|
||||
['v'] = actions.visual_name, -- Visual selection of name
|
||||
['V'] = actions.visual_scope, -- Visual selection of scope
|
||||
['y'] = actions.yank_name, -- Yank the name to system clipboard "+
|
||||
['Y'] = actions.yank_scope, -- Yank the scope to system clipboard "+
|
||||
['i'] = actions.insert_name, -- Insert at start of name
|
||||
['I'] = actions.insert_scope, -- Insert at start of scope
|
||||
['a'] = actions.append_name, -- Insert at end of name
|
||||
['A'] = actions.append_scope, -- Insert at end of scope
|
||||
['r'] = actions.rename, -- Rename currently focused symbol
|
||||
['d'] = actions.delete, -- Delete scope
|
||||
['f'] = actions.fold_create, -- Create fold of current scope
|
||||
['F'] = actions.fold_delete, -- Delete fold of current scope
|
||||
['c'] = actions.comment, -- Comment out current scope
|
||||
['<enter>'] = actions.select, -- Goto selected symbol
|
||||
['o'] = actions.select,
|
||||
['J'] = actions.move_down, -- Move focused node down
|
||||
['K'] = actions.move_up, -- Move focused node up
|
||||
['<down>'] = actions.next_sibling, -- down
|
||||
['<uo>'] = actions.previous_sibling, -- up
|
||||
['<left>'] = actions.parent, -- Move to left panel
|
||||
['<right>'] = actions.children, -- Move to right panel
|
||||
['<S-down>'] = actions.move_down, -- Move focused node down
|
||||
['<S-up>'] = actions.move_up, -- Move focused node up
|
||||
},
|
||||
lsp = {
|
||||
auto_attach = true, -- If set to true, you don't need to manually use attach function
|
||||
},
|
||||
}
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
'<Space>n',
|
||||
function()
|
||||
require('nvim-navbuddy').open()
|
||||
end,
|
||||
desc = 'Navbuddy'
|
||||
},
|
||||
},
|
||||
cmd = 'Navbuddy',
|
||||
event = 'LspAttach'
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
return {
|
||||
'nvim-neo-tree/neo-tree.nvim',
|
||||
cmd = 'Neotree',
|
||||
version = '*',
|
||||
keys = {
|
||||
{ '\\', '<cmd>Neotree reveal<cr>', desc = 'NeoTree' },
|
||||
},
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
-- 'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
'MunifTanjim/nui.nvim',
|
||||
},
|
||||
opts = {
|
||||
window = { -- see https://github.com/MunifTanjim/nui.nvim/tree/main/lua/nui/popup for
|
||||
-- possible options. These can also be functions that return these options.
|
||||
position = 'float', -- left, right, float, current
|
||||
width = 40, -- applies to left and right positions
|
||||
popup = { -- settings that apply to float position only
|
||||
size = {
|
||||
height = '80%',
|
||||
width = '50%',
|
||||
},
|
||||
position = '50%', -- 50% means center it
|
||||
-- you can also specify border here, if you want a different setting from
|
||||
-- the global popup_border_style.
|
||||
},
|
||||
enable_git_status = false,
|
||||
-- Mappings for tree window. See `:h nep-tree-mappings` for a list of built-in commands.
|
||||
-- You can also create your own commands by providing a function instead of a string.
|
||||
mappings = {
|
||||
['<space>'] = 'toggle_node',
|
||||
['<2-LeftMouse>'] = 'open',
|
||||
['<cr>'] = 'open',
|
||||
['s'] = 'open_split',
|
||||
['v'] = 'open_vsplit',
|
||||
['C'] = 'close_node',
|
||||
['z'] = 'close_all_nodes',
|
||||
['R'] = 'refresh',
|
||||
['a'] = 'add',
|
||||
['A'] = 'add_directory',
|
||||
['d'] = 'delete',
|
||||
['r'] = 'rename',
|
||||
['y'] = 'copy_to_clipboard',
|
||||
['x'] = 'cut_to_clipboard',
|
||||
['p'] = 'paste_from_clipboard',
|
||||
['c'] = 'copy', -- takes text input for destination
|
||||
['m'] = 'move', -- takes text input for destination
|
||||
['q'] = 'close_window',
|
||||
},
|
||||
},
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
hide_dotfiles = false,
|
||||
hide_gitignored = false,
|
||||
},
|
||||
hijack_netrw_behavior = 'disabled',
|
||||
},
|
||||
source_selector = {
|
||||
winbar = true,
|
||||
statusline = false
|
||||
}
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
return { 'pwntester/octo.nvim',
|
||||
cmd = 'Octo',
|
||||
config = true,
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user