The goal of this commit was to break my config into smaller, logical chunks. I was having a hard time remembering which file contained which plugin config. I also took the time to clean out some plugins I added but never used, and add an old favourite (tpope/vim-surround).
35 lines
736 B
Lua
35 lines
736 B
Lua
return {
|
|
{
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
event = "VeryLazy",
|
|
branch = "v3.x",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
"nvim-tree/nvim-web-devicons",
|
|
"MunifTanjim/nui.nvim",
|
|
},
|
|
keys = {
|
|
{ "<Leader>ee", "<cmd>Neotree toggle<CR>", desc = "Toggle Neotree" },
|
|
{ "<Leader>er", "<cmd>Neotree reveal<CR>", desc = "Reveal file" },
|
|
},
|
|
opts = {
|
|
open_files_do_not_replace_types = { "terminal", "trouble", "qf" },
|
|
filesystem = {
|
|
filtered_items = {
|
|
show_hidden_count = false,
|
|
hide_dotfiles = false,
|
|
hide_gitignored = true,
|
|
always_show = {
|
|
".env",
|
|
".env.local",
|
|
},
|
|
never_show = {
|
|
".git",
|
|
"thumbs.db",
|
|
".DS_Store",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|