64 lines
3.7 KiB
Lua
64 lines
3.7 KiB
Lua
--[[
|
|
local dashboard = {
|
|
custom_header = {
|
|
' _..._ ',
|
|
' .\' (_`. _ __ ___ ',
|
|
' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
|
|
' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
|
|
' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
|
|
' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|',
|
|
},
|
|
footer= {'Laily'}
|
|
}
|
|
]]
|
|
|
|
local dashboard = {
|
|
custom_header = {
|
|
'███╗ ██╗██╗ ██╗ ██████╗ ██████╗ ██████╗ ███████╗',
|
|
'████╗ ██║██║ ██║██╔════╝██╔═══██╗██╔══██╗██╔════╝',
|
|
'██╔██╗ ██║██║ ██║██║ ██║ ██║██║ ██║█████╗',
|
|
'██║╚██╗██║╚██╗ ██╔╝██║ ██║ ██║██║ ██║██╔══╝',
|
|
'██║ ╚████║ ╚████╔╝ ╚██████╗╚██████╔╝██████╔╝███████╗',
|
|
'╚═╝ ╚═══╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝'
|
|
},
|
|
footer= {'Laily'},
|
|
}
|
|
-- vim.g.dashboard_custom_header = {
|
|
--
|
|
-- ' _..._ ',
|
|
-- ' .\' `. ██ ██ ██ ███ ██ █████ ██████ ██ ██ ██ ███ ███ ',
|
|
-- ' : : ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ████ ████ ',
|
|
-- ' : : ██ ██ ██ ██ ██ ██ ███████ ██████ ██ ██ ██ ██ ████ ██ ',
|
|
-- ' `. .\' ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ',
|
|
-- ' `-...-\' ███████ ██████ ██ ████ ██ ██ ██ ██ ████ ██ ██ ██ ',
|
|
--
|
|
-- }
|
|
|
|
vim.g.dashboard_custom_header = dashboard.custom_header
|
|
|
|
vim.g.dashboard_default_executive = 'telescope'
|
|
|
|
vim.g.dashboard_custom_section = {
|
|
a = {description = {' Find File '}, command = 'Telescope find_files'},
|
|
b = {description = {' Recently Used Files'}, command = 'Telescope oldfiles'},
|
|
c = {description = {' Load Last Session '}, command = 'SessionLoad'},
|
|
d = {description = {' Find Word '}, command = 'Telescope live_grep'},
|
|
e = {description = {' Settings '}, command = ':e '..CONFIG_PATH..'/lv-settings.lua'}
|
|
-- e = {description = {' Marks '}, command = 'Telescope marks'}
|
|
}
|
|
|
|
-- file_browser = {description = {' File Browser'}, command = 'Telescope find_files'},
|
|
|
|
-- vim.g.dashboard_custom_shortcut = {
|
|
-- a = 'f',
|
|
-- find_word = 'SPC f a',
|
|
-- last_session = 'SPC s l',
|
|
-- new_file = 'SPC c n',
|
|
-- book_marks = 'SPC f b'
|
|
-- }
|
|
-- find_history = 'SPC f h',
|
|
|
|
-- vim.g.dashboard_session_directory = CACHE_PATH..'/session'
|
|
vim.g.dashboard_custom_footer = dashboard.footer
|
|
|