60 lines
1.1 KiB
Lua
60 lines
1.1 KiB
Lua
return {
|
|
{
|
|
'glepnir/dashboard-nvim',
|
|
event = 'VimEnter',
|
|
config = function()
|
|
require('dashboard').setup({
|
|
|
|
theme = 'hyper',
|
|
config = {
|
|
header = {
|
|
foo = "bar",
|
|
},
|
|
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 = ' Git',
|
|
group = 'Label',
|
|
action = function()
|
|
local Util = require('plex.lib.utils')
|
|
Util.float_term({ 'lazygit'}, { cwd = Util.get_root() })
|
|
end,
|
|
key = 'g',
|
|
},
|
|
{
|
|
desc = ' Neorg',
|
|
group = 'Number',
|
|
action = 'Neorg workspace main',
|
|
key = 'o',
|
|
},
|
|
{
|
|
desc = ' Sessions',
|
|
group = 'Number',
|
|
action = 'Telescope persisted',
|
|
key = 's',
|
|
},
|
|
},
|
|
},
|
|
|
|
})
|
|
end,
|
|
dependencies = { {'nvim-tree/nvim-web-devicons'}}
|
|
}
|
|
}
|