added dashboard plugin

This commit is contained in:
pr0c3550r 2023-03-02 20:07:28 +01:00
parent 0653f59e24
commit 21808665a4

View file

@ -0,0 +1,32 @@
return {
{
'glepnir/dashboard-nvim',
event = 'VimEnter',
config = function()
require('dashboard').setup {
theme = 'hyper',
config = {
week_header = {
enable = true,
},
shortcut = {
{ icon = '󰚰 ', desc = 'Update', group = '@property', action = 'Lazy update', key = 'U' },
{ icon = '', desc = 'Files', group = '@property', action = 'Telescope find_files', key = 'ff' },
},
-- disable_move = true,
footer = { '',
'Now better then ever ',
},
},
hide = {
statusline,
tabline,
winbar,
},
preview = {
},
}
end,
dependencies = { { 'nvim-tree/nvim-web-devicons' } }
}
}