new help icon

This commit is contained in:
2026-03-18 12:36:52 +02:00
parent fe6230225e
commit ccca420391

View File

@@ -1,8 +1,8 @@
return { return {
'nvimdev/dashboard-nvim', 'nvimdev/dashboard-nvim',
event = 'VimEnter', event = 'VimEnter',
opts = function() opts = function()
local logo = [[ local logo = [[
███╗ ███╗███████╗ █████╗ ███╗ ██╗███████╗██╗██╗ ██╗██╗███╗ ███╗ ███╗ ███╗███████╗ █████╗ ███╗ ██╗███████╗██╗██╗ ██╗██╗███╗ ███╗
████╗ ████║╚══███╔╝██╔══██╗████╗ ██║██╔════╝██║██║ ██║██║████╗ ████║ ████╗ ████║╚══███╔╝██╔══██╗████╗ ██║██╔════╝██║██║ ██║██║████╗ ████║
██╔████╔██║ ███╔╝ ███████║██╔██╗ ██║███████╗██║██║ ██║██║██╔████╔██║ ██╔████╔██║ ███╔╝ ███████║██╔██╗ ██║███████╗██║██║ ██║██║██╔████╔██║
@@ -11,32 +11,37 @@ return {
╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝
]] ]]
logo = string.rep("\n", 8) .. logo .. "\n\n" logo = string.rep("\n", 8) .. logo .. "\n\n"
local opts = { local opts = {
theme = "doom", theme = "doom",
config = { config = {
header = vim.split(logo, "\n"), header = vim.split(logo, "\n"),
center = { center = {
-- Aligned to Mzansi Vim Essential Keybindings -- Aligned to Mzansi Vim Essential Keybindings
{ icon = "󰉓 ", desc = " File Explorer ", key = "cd", action = "Explore" }, { icon = "󰉓 ", desc = " File Explorer ", key = "cd", action = "Explore" },
{ icon = "", desc = " Find Files ", key = "ff", action = "Telescope find_files" }, { icon = "", desc = " Find Files ", key = "ff", action = "Telescope find_files" },
{ icon = "", desc = " Live Grep ", key = "fg", action = "Telescope live_grep" }, { icon = "", desc = " Live Grep ", key = "fg", action = "Telescope live_grep" },
{ icon = "󰛢 ", desc = " Harpoon Menu ", key = "e", action = function() {
local harpoon = require("harpoon") icon = "󰛢 ",
harpoon.ui:toggle_quick_menu(harpoon:list()) desc = " Harpoon Menu ",
end}, key = "e",
{ icon = "󱗘 ", desc = " Harpoon Search ", key = "fl", action = "Telescope harpoon marks" }, action = function()
{ icon = "󰒲 ", desc = " Lazy Manager ", key = "z", action = "Lazy" }, local harpoon = require("harpoon")
{ icon = "", desc = " Help Tags ", key = "fh", action = "Telescope help_tags" }, harpoon.ui:toggle_quick_menu(harpoon:list())
{ icon = "", desc = " Quit ", key = "q", action = "qa" }, end
}, },
-- footer = { vim.fn.strftime("%Y-%m-%d %H:%M:%S") .. " • Mzansi Vim Kickstart" }, { icon = "󱗘 ", desc = " Harpoon Search ", key = "fl", action = "Telescope harpoon marks" },
footer = { "Let's Keep Working Hard Mzansi" }, { icon = "󰒲 ", desc = " Lazy Manager ", key = "z", action = "Lazy" },
}, { icon = "", desc = " Help Tags ", key = "fh", action = "Telescope help_tags" },
} { icon = "", desc = " Quit ", key = "q", action = "qa" },
},
-- footer = { vim.fn.strftime("%Y-%m-%d %H:%M:%S") .. " • Mzansi Vim Kickstart" },
footer = { "Let's Keep Working Hard Mzansi" },
},
}
return opts return opts
end, end,
dependencies = { { 'nvim-tree/nvim-web-devicons' } } dependencies = { { 'nvim-tree/nvim-web-devicons' } }
} }