Files
adamfandClaude Fable 5 5b354f172e Clean up nvim config: drop duplicate plugins, simplify colorscheme setup
- Remove nvim-autopairs (LazyVim's mini.pairs already handles pairing)
- Remove spectre (superseded by LazyVim's grug-far, conflicted on <leader>sr)
- Remove todo-comments override (LazyVim default covers it; <leader>st
  pointed at TodoTelescope, which is broken without telescope)
- Trim colorscheme.lua to oxocarbon only, set via LazyVim opts; fix
  install colorscheme in lazy.lua
- Delete disabled greggh/claude-code.nvim spec
- Drop obsolete which-key config function and empty defaults table
- Tile vertically for any multi-file open, not just exactly two
- Add stylua.toml and format all lua to 2-space indent

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-07 13:11:02 +01:00

45 lines
1.8 KiB
Lua

return {
{
"snacks.nvim",
keys = {
{
"<leader>?",
function()
Snacks.picker.keymaps()
end,
desc = "Search Keymaps",
mode = { "n", "x" },
},
},
opts = {
dashboard = {
preset = {
pick = function(cmd, opts)
return LazyVim.pick(cmd, opts)()
end,
header = [[
███████╗████████╗██████╗
██╔════╝╚══██╔══╝██╔══██╗
███████╗ ██║ ██████╔╝
╚════██║ ██║ ██╔═══╝
███████║ ██║ ██║
╚══════╝ ╚═╝ ╚═╝
]],
-- stylua: ignore
keys = {
{ icon = " ", key = "f", desc = "Find File", action = ":lua Snacks.dashboard.pick('files')" },
{ icon = " ", key = "n", desc = "New File", action = ":ene | startinsert" },
{ icon = " ", key = "g", desc = "Find Text", action = ":lua Snacks.dashboard.pick('live_grep')" },
{ icon = " ", key = "r", desc = "Recent Files", action = ":lua Snacks.dashboard.pick('oldfiles')" },
{ icon = " ", key = "c", desc = "Config", action = ":lua Snacks.dashboard.pick('files', {cwd = vim.fn.stdpath('config')})" },
{ icon = " ", key = "s", desc = "Restore Session", section = "session" },
{ icon = " ", key = "x", desc = "Lazy Extras", action = ":LazyExtras" },
{ icon = "󰒲 ", key = "l", desc = "Lazy", action = ":Lazy" },
{ icon = " ", key = "q", desc = "Quit", action = ":qa" },
},
},
},
},
},
}