added dashboard

This commit is contained in:
venus
2026-03-24 02:26:47 -05:00
parent 03dc7fbe72
commit 7bdce4f6b8
4 changed files with 47 additions and 13 deletions

44
lua/plugins/dashboard.lua Normal file
View 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'}}
}

View File

@@ -46,15 +46,4 @@ return {
},
},
},
-- {
-- "snacks.nvim",
-- opts = {
-- indent = { enabled = true },
-- input = { enabled = true },
-- notifier = { enabled = true },
-- scope = { enabled = true },
-- scroll = { enabled = true },
-- statuscolumn = { enabled = false }, -- we set this in options.lua
-- }
-- },
}

View File

@@ -69,6 +69,7 @@ return { -- adds more detailed bar below the pane
config = function()
local bufferline = require('bufferline')
bufferline.setup{
options = {
themable = true,
numbers = "buffer_id",
indicator = {
@@ -81,7 +82,7 @@ return { -- adds more detailed bar below the pane
left_trunc_marker = '',
right_trunc_marker = '',
diagnostics = "nvim_lsp",
}
}
end
},