summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugins/dashboard.lua
blob: 074d3f523f948a4c1bf4e72bc0dae0cb71c049e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
return {
    {
        'glepnir/dashboard-nvim',
        event = 'VimEnter',
        config = function()
            require('dashboard').setup {
                theme = 'hyper',
                change_to_vcs_root = true,
                config = {
                    week_header = {
                        enable = true,
                    },
                    shortcut = {
                        {
                            desc = '󰊳 Update', group = '@property', action = 'Lazy update', key = 'u',
                        },
                        {
                            icon = ' ',
                            icon_hl = '@variable',
                            desc = 'Files',
                            group = 'Label',
                            action = 'Telescope find_files',
                            key = 'f',
                        },
                    },
                },

            }
        end,
        dependencies = {
            {
                'nvim-tree/nvim-web-devicons'
            }
        }
    }
}