From 046942c93f771588d993d6e288f3a62b4f30b0aa Mon Sep 17 00:00:00 2001 From: doryan Date: Mon, 23 Dec 2024 00:58:15 +0400 Subject: [PATCH] feat(dashboard): add config for dashboard plugin --- lua/config/plugins/dashboard.lua | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 lua/config/plugins/dashboard.lua diff --git a/lua/config/plugins/dashboard.lua b/lua/config/plugins/dashboard.lua new file mode 100644 index 0000000..22ca324 --- /dev/null +++ b/lua/config/plugins/dashboard.lua @@ -0,0 +1,31 @@ +require('dashboard').setup { + theme = 'hyper', + 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', + }, + { + desc = ' Apps', + group = 'DiagnosticHint', + action = 'Telescope app', + key = 'a', + }, + { + desc = ' dotfiles', + group = 'Number', + action = 'Telescope dotfiles', + key = 'd', + }, + }, + }, +}