Skip to content

Commit 9e90c8e

Browse files
authored
update config (#41)
1 parent d31484f commit 9e90c8e

File tree

1 file changed

+28
-13
lines changed

1 file changed

+28
-13
lines changed

lua/modules/ui/config.lua

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,35 @@ end
66

77
function config.dashboard()
88
local db = require('dashboard')
9-
db.custom_center = {
10-
{
11-
icon = '',
12-
desc = 'Update Plugins ',
13-
shortcut = 'SPC p u',
14-
action = 'Lazy update',
9+
db.setup({
10+
theme = 'hyper',
11+
config = {
12+
week_header = {
13+
enable = true,
14+
},
15+
shortcut = {
16+
{ desc = ' Update', group = '@property', action = 'Lazy update', key = 'u' },
17+
{
18+
desc = ' Files',
19+
group = 'Label',
20+
action = 'Telescope find_files',
21+
key = 'f',
22+
},
23+
{
24+
desc = ' Apps',
25+
group = 'DiagnosticHint',
26+
action = 'Telescope app',
27+
key = 'a',
28+
},
29+
{
30+
desc = ' dotfiles',
31+
group = 'Number',
32+
action = 'Telescope dotfiles',
33+
key = 'd',
34+
},
35+
},
1536
},
16-
{
17-
icon = '',
18-
desc = 'Find File ',
19-
action = 'Telescope find_files find_command=rg,--hidden,--files',
20-
shortcut = 'SPC f f',
21-
},
22-
}
37+
})
2338
end
2439

2540
function config.nvim_bufferline()

0 commit comments

Comments
 (0)