mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-29 10:48:46 -05:00
0098bc351f
Also update nushell startup hook
35 lines
1.9 KiB
Lua
35 lines
1.9 KiB
Lua
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 = {
|
|
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 b n'}, command = 'DashboardNewFile'},
|
|
e = {description = {' Bookmarks SPC f m'}, command = 'Telescope marks'},
|
|
f = {description = {' Load Last Session SPC s l'}, command = 'SessionLoad'}
|
|
}
|
|
vim.g.dashboard_custom_header = {
|
|
" ",
|
|
" ",
|
|
" ",
|
|
"<-. (`-')_ (`-') _ (`-') _ <-. (`-') ",
|
|
" \\( OO) ) ( OO).-/ .-> _(OO ) (_) \\(OO )_ ",
|
|
",--./ ,--/ (,------.(`-')----. ,--.(_/,-.\\ ,-(`-'),--./ ,-.)",
|
|
"| \\ | | | .---'( OO).-. '\\ \\ / (_/ | ( OO)| `.' |",
|
|
"| . '| |)(| '--. ( _) | | | \\ / / | | )| |'.'| |",
|
|
"| |\\ | | .--' \\| |)| |_ \\ /_)(| |_/ | | | |",
|
|
"| | \\ | | `---. ' '-' '\\-'\\ / | |'->| | | |",
|
|
"`--' `--' `------' `-----' `-' `--' `--' `--'",
|
|
}
|
|
vim.g.dashboard_custom_footer = {
|
|
'おかえりなさい'
|
|
}
|
|
end
|
|
|
|
dashboard_options()
|