update config

This commit is contained in:
Harivansh Rathi 2025-11-08 14:31:02 -05:00
parent 374580330f
commit 161e0c20e6
3 changed files with 75 additions and 13 deletions

62
lua/plugins/dashboard.lua Normal file
View file

@ -0,0 +1,62 @@
return {
"nvimdev/dashboard-nvim",
event = "VimEnter",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
require("dashboard").setup({
theme = "doom",
config = {
header = {
"",
"",
"",
" ██▒ █▓ ██▓ ███▄ ▄███▓",
"▓██░ █▒▓██▒▓██▒▀█▀ ██▒",
" ▓██ █▒░▒██▒▓██ ▓██░",
" ▒██ █░░░██░▒██ ▒██ ",
" ▒▀█░ ░██░▒██▒ ░██▒",
" ░ ▐░ ░▓ ░ ▒░ ░ ░",
" ░ ░░ ▒ ░░ ░ ░",
" ░░ ▒ ░░ ░ ",
" ░ ░ ░ ",
"",
"",
"",
},
center = {
{
icon = " ",
desc = "Find File ",
key = "f",
action = "Telescope find_files",
},
{
icon = " ",
desc = "Recent Files ",
key = "r",
action = "Telescope oldfiles",
},
{
icon = " ",
desc = "Find Text ",
key = "g",
action = "Telescope live_grep",
},
{
icon = " ",
desc = "Config ",
key = "c",
action = "edit ~/.config/nvim/init.lua",
},
{
icon = " ",
desc = "Quit ",
key = "q",
action = "quit",
},
},
footer = {},
},
})
end,
}