feat: config refresh

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).
This commit is contained in:
Devin Haska 2024-09-15 20:06:33 -07:00
parent d64a512297
commit a68ad5ac1d
No known key found for this signature in database
9 changed files with 238 additions and 288 deletions

35
lua/plugins/neotree.lua Normal file
View file

@ -0,0 +1,35 @@
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",
},
},
},
},
},
}