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

View File

@@ -3,6 +3,7 @@
"base16-nvim": { "branch": "master", "commit": "190397833e53fdfd5cf400c5baaf1a4e533158e5" },
"blink.cmp": { "branch": "main", "commit": "451168851e8e2466bc97ee3e026c3dcb9141ce07" },
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"dashboard-nvim": { "branch": "master", "commit": "0775e567b6c0be96d01a61795f7b64c1758262f6" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"fd": { "branch": "master", "commit": "9d137d358df10c441e51dcacc5899e43a4bee877" },
"fzf-lua": { "branch": "main", "commit": "8a79ee54d6216d10b2f153921a12b152be0c1a20" },
@@ -37,7 +38,6 @@
"sudo.nvim": { "branch": "main", "commit": "eed34f8636f0dd1bac89c81f6f96a86ca513f5f2" },
"telescope.nvim": { "branch": "master", "commit": "e69b434b968a33815e2f02a5c7bd7b8dd4c7d4b2" },
"themery.nvim": { "branch": "main", "commit": "bfa58f4b279d21cb515b28023e1b68ec908584b2" },
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
"ts-comments.nvim": { "branch": "main", "commit": "123a9fb12e7229342f807ec9e6de478b1102b041" },

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
},