34 lines
1.4 KiB
Lua
34 lines
1.4 KiB
Lua
return {
|
|
opt = false,
|
|
config = function()
|
|
local db = require("dashboard")
|
|
|
|
local logo = [[
|
|
███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗
|
|
████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║
|
|
██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║
|
|
██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║
|
|
██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║
|
|
╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝
|
|
]]
|
|
local lines = {}
|
|
for line in logo:gmatch("[^\n]+") do
|
|
table.insert(lines, line)
|
|
end
|
|
|
|
db.custom_header = lines
|
|
|
|
vim.g.dashboard_custom_header = lines
|
|
|
|
vim.g.dashboard_custom_shortcut = {
|
|
["last_session"] = "SPC s l",
|
|
["find_history"] = "SPC f r",
|
|
["find_file"] = "SPC spc",
|
|
["new_file"] = "SPC f n",
|
|
["change_colorscheme"] = "SPC h c",
|
|
["find_word"] = "SPC f g",
|
|
["book_marks"] = "SPC f b",
|
|
}
|
|
end,
|
|
}
|