return { 'folke/snacks.nvim', priority = 1000, version = false, lazy = false, ---@type snacks.Config opts = { -- your configuration comes here -- or leave it empty to use the default settings -- refer to the configuration section below bigfile = { enabled = true }, notifier = { enabled = false }, quickfile = { enabled = true }, statuscolumn = { enabled = true }, words = { enabled = true }, dashboard = { sections = { { section = 'header' }, { section = 'keys', gap = 1, padding = 1 }, { title = 'Sessions', padding = 1 }, { pane = 1, icon = ' ', title = 'Recent Files', section = 'recent_files', indent = 2, padding = 1 }, { pane = 2, icon = ' ', title = 'Projects', section = 'projects', indent = 2, padding = 1 }, { pane = 2, icon = ' ', title = 'Git Status', section = 'terminal', cmd = 'output=$(CLICOLOR=1 GH_FORCE_TTY=1 gh pr status 2>&1) && echo -e "$output" || true', height = 30, width = 80, padding = 1, ttl = 5 * 60, indent = 3, }, { section = 'startup' }, }, }, }, keys = { { 'g', function() Snacks.lazygit() end, desc = 'Lazygit', }, { 'gf', function() Snacks.lazygit.log_file() end, desc = 'Lazygit Current File History', }, { 'gl', function() Snacks.lazygit.log() end, desc = 'Lazygit Log (cwd)', }, { 'm', function() Snacks.words.jump(vim.v.count1) end, desc = 'Next Reference', mode = { 'n' }, }, { '', function() Snacks.words.jump(-vim.v.count1) end, desc = 'Prev Reference', mode = { 'n' }, }, }, }