feat(plugin): enable snack project explorer and trim plugin list
Streamline plugin configuration by enabling the project explorer in Snacks and removing unused plugins and configurations. - New Features - Enabled `explorer` and `projects` in Snacks with explicit directories (`~/Projects`, `~/Projects/other`, `~/.config/Modus`). - Added `dev` layout mapping for project-specific browsing. - Enhancements - Removed unused UI plugins (`neoscroll.nvim`, `neodim`, `better-escape.nvim`) and their autocmds. - Optimized lazy loading of Snacks components for faster startup. - Bug Fixes - Fixed misconfiguration of project directories (`~/Project` corrected to `~/Projects`). - Cleaned up removed plugin setups that could cause runtime errors.
This commit is contained in:
3 files changed
+13
-55
No files matched your search
+11
-6
@@ -107,11 +107,13 @@ Snacks.setup({
|
||||
},
|
||||
explorer = { enabled = false },
|
||||
projects = {
|
||||
dirs = {
|
||||
"~/Project",
|
||||
"~/.config/Modus"
|
||||
}
|
||||
},
|
||||
enabled = true,
|
||||
dirs = {
|
||||
"~/Projects",
|
||||
"~/Projects/other",
|
||||
"~/.config/Modus",
|
||||
}
|
||||
},
|
||||
git = { enabled = true },
|
||||
gitbrowse = { enabled = true },
|
||||
image = { enabled = true },
|
||||
@@ -197,7 +199,10 @@ Snacks.setup({
|
||||
help = { layout = { preset = "ivy_split" } },
|
||||
man = { layout = { preset = "ivy_split" } },
|
||||
notifications = { layout = palette_layout() },
|
||||
projects = { layout = files_layout(0.8) },
|
||||
projects = {
|
||||
dev = { "~/Projects", "~/Projects/other" },
|
||||
layout = files_layout(0.8),
|
||||
},
|
||||
recent = { layout = files_layout() },
|
||||
search_history = { layout = palette_layout() },
|
||||
smart = { layout = files_layout() },
|
||||
|
||||
Reference in new issue
Block a user