@@ -49,7 +49,8 @@ return {
49
49
{ icon = " " , key = " e" , desc = " Explorer" , action = " :lua Snacks.explorer()" },
50
50
{ icon = " " , key = " g" , desc = " Find Text" , action = " :lua Snacks.dashboard.pick('live_grep')" },
51
51
{ icon = " " , key = " r" , desc = " Recent Files" , action = " :lua Snacks.dashboard.pick('oldfiles')" },
52
- { icon = " " , key = " c" , desc = " Config" , action = " :cd " .. vim .fn .stdpath (' config' ) .. ' | ' .. " :lua Snacks.dashboard.pick('files', {cwd = vim.fn.stdpath('config')})" },
52
+ { icon = " " , key = " c" , desc = " Config" , action = " :lua Snacks.dashboard.pick('files', {cwd = vim.fn.stdpath('config')})" },
53
+ { icon = " " , key = " d" , desc = " Dotfiles" , action = " :lua Snacks.dashboard.pick('files', {dirs = {'~/repos/dotfiles', '~/repos/dotfiles-private'}})" },
53
54
{ icon = " " , key = " s" , desc = " Restore Session" , section = " session" },
54
55
{ icon = " " , key = " S" , desc = " Restore Last Session" , action = function () require (" persistence" ).load ({ last = true }) end },
55
56
{ icon = " " , key = " l" , desc = " Lazy" , action = " :Lazy" , enabled = package.loaded .lazy ~= nil },
0 commit comments