2021-07-04 15:03:20 -04:00
|
|
|
local function dashboard_options()
|
|
|
|
-- vim.g.dashboard_disable_at_vimenter = 1
|
|
|
|
-- vim.g.dashboard_disable_statusline = 1
|
|
|
|
vim.g.dashboard_preview_file_height = 12
|
|
|
|
vim.g.dashboard_preview_file_width = 80
|
|
|
|
vim.g.dashboard_default_executive = 'telescope'
|
|
|
|
vim.g.dashboard_session_directory = vim.fn.stdpath('data') .. '/sessions'
|
|
|
|
vim.g.dashboard_custom_section = {
|
2021-07-10 12:40:43 -04:00
|
|
|
a = {description = {' Find File SPC f f'}, command = 'DashboardFindFile'},
|
|
|
|
b = {description = {' Recents SPC f o'}, command = 'DashboardFindHistory'},
|
|
|
|
c = {description = {' Find Word SPC f g'}, command = 'DashboardFindWord'},
|
2021-07-07 04:08:00 -04:00
|
|
|
d = {description = {'洛 New File SPC b n'}, command = 'DashboardNewFile'},
|
2021-07-10 12:40:43 -04:00
|
|
|
e = {description = {' Bookmarks SPC f m'}, command = 'DashboardJumpMark'}
|
2021-07-04 15:03:20 -04:00
|
|
|
}
|
|
|
|
vim.g.dashboard_custom_header = {
|
|
|
|
" ",
|
|
|
|
" ",
|
|
|
|
" ",
|
|
|
|
"<-. (`-')_ (`-') _ (`-') _ <-. (`-') ",
|
|
|
|
" \\( OO) ) ( OO).-/ .-> _(OO ) (_) \\(OO )_ ",
|
|
|
|
",--./ ,--/ (,------.(`-')----. ,--.(_/,-.\\ ,-(`-'),--./ ,-.)",
|
|
|
|
"| \\ | | | .---'( OO).-. '\\ \\ / (_/ | ( OO)| `.' |",
|
|
|
|
"| . '| |)(| '--. ( _) | | | \\ / / | | )| |'.'| |",
|
|
|
|
"| |\\ | | .--' \\| |)| |_ \\ /_)(| |_/ | | | |",
|
|
|
|
"| | \\ | | `---. ' '-' '\\-'\\ / | |'->| | | |",
|
|
|
|
"`--' `--' `------' `-----' `-' `--' `--' `--'",
|
|
|
|
}
|
|
|
|
vim.g.dashboard_custom_footer = {
|
|
|
|
'おかえりなさい'
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
dashboard_options()
|