2023-09-06 15:44:20 +02:00
|
|
|
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',
|
|
|
|
},
|
2023-09-06 18:36:22 +02:00
|
|
|
{
|
|
|
|
desc = ' Sessions',
|
|
|
|
group = 'Number',
|
|
|
|
action = 'Telescope persisted',
|
|
|
|
key = 's',
|
|
|
|
},
|
2023-09-06 15:44:20 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
})
|
|
|
|
end,
|
|
|
|
dependencies = { {'nvim-tree/nvim-web-devicons'}}
|
|
|
|
}
|
|
|
|
}
|