Update neovim config to use lazyvim

This commit is contained in:
Gabriel Brown
2026-05-16 14:26:09 -04:00
parent 19b8ec2542
commit 372a0f60e5
36 changed files with 592 additions and 1522 deletions
+37 -12
View File
@@ -1,15 +1,40 @@
return {
'folke/snacks.nvim',
dependencies = {
{ 'echasnovski/mini.icons', },
{
"folke/snacks.nvim",
keys = {
{ "<leader>t", function() Snacks.explorer({ cwd = LazyVim.root() }) end, desc = "Explorer (Root Dir)" },
{ "<leader>T", function() Snacks.explorer() end, desc = "Explorer (cwd)" },
},
opts = {
picker = {
sources = {
explorer = {
hidden = false, -- dotfiles hidden by default; H to toggle
ignored = false, -- gitignored files hidden by default; I to toggle
follow_file = true, -- auto-reveal current buffer in tree
git_status = true,
git_untracked = true,
watch = true, -- live file watcher
exclude = { "node_modules", ".next", ".vscode", ".idea", ".DS_Store", "thumbs.db" },
include = { ".env*" }, -- always show .env files regardless of hidden/ignored
layout = {
layout = {
width = 30,
min_width = 30,
},
},
win = {
list = {
keys = {
["S"] = "split", -- horizontal split (like NeoTree S)
["s"] = "vsplit", -- vertical split (like NeoTree s)
["t"] = "tab", -- new tab (like NeoTree t)
},
},
},
},
},
},
},
},
config = function()
require'snacks'.setup({
animate = { enabled = true },
bigfile = { enabled = true },
image = { enabled = true },
indent = { enabled = true },
scroll = { enabled = true },
})
end
}