From 48c56487e1c3400957441d8d1af7460d24a1d1c2 Mon Sep 17 00:00:00 2001 From: Luke Johnson Date: Mon, 27 Feb 2023 17:25:08 -0700 Subject: [PATCH] Add dashboard plugin --- lua/custom/plugins/dashboard.lua | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 lua/custom/plugins/dashboard.lua diff --git a/lua/custom/plugins/dashboard.lua b/lua/custom/plugins/dashboard.lua new file mode 100644 index 00000000..af482ac1 --- /dev/null +++ b/lua/custom/plugins/dashboard.lua @@ -0,0 +1,34 @@ +return { + 'glepnir/dashboard-nvim', + event = 'VimEnter', + 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', + }, + }, + }, + dependencies = { { 'nvim-tree/nvim-web-devicons' } } +}