Delete some plugins
Show hidden files in Oil Add extra navbuddy dependencies Load lualine at VeryLazy step
This commit is contained in:
parent
5ae6d83c32
commit
33e0cf64f7
|
@ -18,7 +18,7 @@ return {
|
|||
dashboard.button("t", " " .. " Terminal", "<cmd>ToggleTerm <CR>"),
|
||||
dashboard.button("f", " " .. " Find file", "<cmd>Telescope find_files <CR>"),
|
||||
dashboard.button("r", " " .. " Recent files", "<cmd>Telescope oldfiles <CR>"),
|
||||
dashboard.button("n", " " .. " Neo-tree", "<cmd>Neotree <CR>"),
|
||||
dashboard.button("o", " " .. " File browser", "<cmd>Oil <CR>"),
|
||||
dashboard.button("g", " " .. " Git status", "<cmd>Neogit <CR>"),
|
||||
dashboard.button("c", " " .. " Config", "<cmd>e $MYVIMRC <CR>"),
|
||||
dashboard.button("l", " " .. " Lazy", "<cmd>Lazy<CR>"),
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
return {
|
||||
"catppuccin/nvim",
|
||||
cond = not vim.g.vscode,
|
||||
name = "catppuccin",
|
||||
lazy = true,
|
||||
config = true,
|
||||
opts = {
|
||||
flavour = "macchiato",
|
||||
term_colors = true,
|
||||
transparent_background = true,
|
||||
integrations = {
|
||||
alpha = true,
|
||||
barbar = true,
|
||||
gitsigns = true,
|
||||
hop = true,
|
||||
indent_blankline = { enabled = true, colored_indent_levels = true },
|
||||
cmp = true,
|
||||
markdown = true,
|
||||
mini = true,
|
||||
native_lsp = { enabled = true },
|
||||
neogit = true,
|
||||
neotree = true,
|
||||
noice = true,
|
||||
notify = true,
|
||||
navic = { enabled = true },
|
||||
treesitter = true,
|
||||
treesitter_context = true,
|
||||
telescope = true,
|
||||
lsp_trouble = true,
|
||||
which_key = true,
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,7 +1,8 @@
|
|||
return {
|
||||
"numToStr/Comment.nvim",
|
||||
cond = not vim.g.vscode,
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
dependencites = { "nvim-treesitter" },
|
||||
keys = { "gc", "gb" },
|
||||
config = true,
|
||||
opts = { ignore = "^$" },
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ return {
|
|||
"nvim-lualine/lualine.nvim",
|
||||
cond = not vim.g.vscode,
|
||||
dependencies = { "nvim-tree/nvim-web-devicons", "folke/noice.nvim", "folke/tokyonight.nvim" },
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
event = { "VeryLazy" },
|
||||
config = true,
|
||||
opts = function()
|
||||
return {
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
cond = not vim.g.vscode,
|
||||
branch = "v2.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
cmd = "Neotree",
|
||||
init = function()
|
||||
vim.g.neo_tree_remove_legacy_commands = 1
|
||||
vim.keymap.set("n", "<leader>nn", "<cmd>Neotree reveal reveal_force_cwd<cr>")
|
||||
end,
|
||||
config = true,
|
||||
opts = {
|
||||
close_if_last_window = true,
|
||||
use_popups_for_input = false,
|
||||
filesystem = {
|
||||
window = {
|
||||
mappings = {
|
||||
["Z"] = "expand_all_nodes",
|
||||
["<tab>"] = "toggle_node",
|
||||
},
|
||||
},
|
||||
filtered_items = {
|
||||
hide_dotfiles = false,
|
||||
},
|
||||
group_empty_dirs = true,
|
||||
hijack_netrw_behavior = "open_current",
|
||||
},
|
||||
buffers = {
|
||||
bind_to_cwd = true,
|
||||
follow_current_file = true,
|
||||
group_empty_dirs = true,
|
||||
},
|
||||
git_status = {
|
||||
group_empty_dirs = true,
|
||||
},
|
||||
source_selector = {
|
||||
winbar = true,
|
||||
statusline = false,
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
return {
|
||||
"windwp/nvim-autopairs",
|
||||
cond = not vim.g.vscode,
|
||||
lazy = true,
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"hrsh7th/nvim-cmp",
|
||||
},
|
||||
config = true,
|
||||
opts = {
|
||||
disable_in_macro = true,
|
||||
disable_in_visualblock = true,
|
||||
check_ts = true,
|
||||
},
|
||||
}
|
|
@ -48,7 +48,21 @@ return {
|
|||
event = "InsertEnter",
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"windwp/nvim-autopairs",
|
||||
{
|
||||
"windwp/nvim-autopairs",
|
||||
cond = not vim.g.vscode,
|
||||
lazy = true,
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"hrsh7th/nvim-cmp",
|
||||
},
|
||||
config = true,
|
||||
opts = {
|
||||
disable_in_macro = true,
|
||||
disable_in_visualblock = true,
|
||||
check_ts = true,
|
||||
},
|
||||
},
|
||||
"saadparwaiz1/cmp_luasnip",
|
||||
"L3MON4D3/LuaSnip",
|
||||
},
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
return {
|
||||
"SmiteshP/nvim-navbuddy",
|
||||
cond = not vim.g.vscode,
|
||||
dependencies = { "SmiteshP/nvim-navic", "MunifTanjim/nui.nvim", "neovim/nvim-lspconfig" },
|
||||
dependencies = {
|
||||
"SmiteshP/nvim-navic",
|
||||
"MunifTanjim/nui.nvim",
|
||||
"neovim/nvim-lspconfig",
|
||||
"numToStr/Comment.nvim",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
},
|
||||
cmd = { "Navbuddy" },
|
||||
init = function() vim.keymap.set("n", "<leader>na", "<cmd>Navbuddy<cr>") end,
|
||||
config = true,
|
||||
|
|
|
@ -12,15 +12,7 @@ return {
|
|||
end,
|
||||
config = true,
|
||||
opts = {
|
||||
float = {
|
||||
-- Padding around the floating window
|
||||
padding = 2,
|
||||
max_width = 0,
|
||||
max_height = 0,
|
||||
border = "rounded",
|
||||
win_options = {
|
||||
winblend = 10,
|
||||
},
|
||||
},
|
||||
columns = { "icon", "permissions" },
|
||||
view_options = { show_hidden = true },
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
return {
|
||||
"ahmedkhalf/project.nvim",
|
||||
cond = not vim.g.vscode,
|
||||
enabled = false,
|
||||
name = "project_nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = true,
|
||||
|
|
Loading…
Reference in a new issue