added dashboard
This commit is contained in:
44
lua/plugins/dashboard.lua
Normal file
44
lua/plugins/dashboard.lua
Normal file
@@ -0,0 +1,44 @@
|
||||
return {
|
||||
'nvimdev/dashboard-nvim',
|
||||
event = 'VimEnter',
|
||||
lazy = false,
|
||||
config = function()
|
||||
require('dashboard').setup(
|
||||
{
|
||||
theme = 'hyper',
|
||||
config = {
|
||||
week_header = {
|
||||
enable = true,
|
||||
},
|
||||
project = {
|
||||
enable = false,
|
||||
},
|
||||
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 = ' file manager',
|
||||
group = 'Label',
|
||||
action = 'NvimTreeOpen',
|
||||
key = 'e',
|
||||
},
|
||||
{
|
||||
icon = '',
|
||||
desc = ' Quit',
|
||||
group = 'Label',
|
||||
action = 'quitall',
|
||||
key = 'q',
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
dependencies = { {'nvim-tree/nvim-web-devicons'}}
|
||||
}
|
||||
Reference in New Issue
Block a user