2021-06-26 02:10:23 +00:00
|
|
|
local M = {}
|
2021-06-14 03:54:47 +00:00
|
|
|
|
2021-06-26 02:10:23 +00:00
|
|
|
M.config = function()
|
|
|
|
local g = vim.g
|
2021-06-14 03:54:47 +00:00
|
|
|
|
2021-06-26 02:10:23 +00:00
|
|
|
g.dashboard_disable_at_vimenter = 1 -- dashboard is disabled by default
|
|
|
|
g.dashboard_disable_statusline = 1
|
|
|
|
g.dashboard_default_executive = "telescope"
|
|
|
|
g.dashboard_custom_header = {
|
|
|
|
" ",
|
|
|
|
" ",
|
|
|
|
" ",
|
|
|
|
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
|
|
|
|
" ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
|
|
|
|
" ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ",
|
|
|
|
" ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ",
|
|
|
|
" ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ",
|
|
|
|
" ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ",
|
|
|
|
" ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ",
|
|
|
|
" ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ",
|
|
|
|
" ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ",
|
|
|
|
" ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ",
|
|
|
|
" ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ",
|
|
|
|
" "
|
|
|
|
}
|
2021-06-19 07:20:35 +00:00
|
|
|
|
2021-06-26 02:10:23 +00:00
|
|
|
g.dashboard_custom_section = {
|
|
|
|
a = {description = {" Find File SPC f f"}, command = "Telescope find_files"},
|
|
|
|
b = {description = {" Recents SPC f o"}, command = "Telescope oldfiles"},
|
|
|
|
c = {description = {" Find Word SPC f w"}, command = "Telescope live_grep"},
|
|
|
|
d = {description = {"洛 New File SPC f n"}, command = "DashboardNewFile"},
|
|
|
|
e = {description = {" Bookmarks SPC b m"}, command = "Telescope marks"},
|
|
|
|
f = {description = {" Load Last Session SPC s l"}, command = "SessionLoad"}
|
|
|
|
}
|
|
|
|
|
|
|
|
g.dashboard_custom_footer = {
|
|
|
|
" ",
|
|
|
|
"NvChad v0.5"
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
return M
|