Files
scripts/nvim/lua/plugins/snacks.lua
Adam French 4d408701e5 Update nvim config: switch to tab indentation, update claudecode and vimade settings
Remove stylua.toml (was enforcing 2-space indent), add tab settings in options.lua,
update claudecode.nvim terminal/diff config, lower vimade fadelevel to 0.6, remove
claudecode LazyExtra in favor of custom plugin spec, and add .luarc.json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 00:35:23 +00:00

35 lines
1.6 KiB
Lua

return {
{
"snacks.nvim",
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" },
},
},
},
},
},
}