LunarVim/lua/lv-dashboard/init.lua

46 lines
3.1 KiB
Lua
Raw Normal View History

2021-04-15 06:17:48 +02:00
-- vim.g.dashboard_custom_header = {
-- '███╗ ██╗██╗ ██╗ ██████╗ ██████╗ ██████╗ ███████╗',
-- '████╗ ██║██║ ██║██╔════╝██╔═══██╗██╔══██╗██╔════╝',
-- '██╔██╗ ██║██║ ██║██║ ██║ ██║██║ ██║█████╗',
-- '██║╚██╗██║╚██╗ ██╔╝██║ ██║ ██║██║ ██║██╔══╝',
-- '██║ ╚████║ ╚████╔╝ ╚██████╗╚██████╔╝██████╔╝███████╗',
-- '╚═╝ ╚═══╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝'
-- }
-- vim.g.dashboard_custom_header = {
--
-- ' _..._ ',
-- ' .\' `. ██  ██  ██ ███  ██  █████  ██████  ██  ██ ██ ███  ███ ',
-- ' : : ██  ██  ██ ████  ██ ██   ██ ██   ██ ██  ██ ██ ████  ████ ',
-- ' : : ██  ██  ██ ██ ██  ██ ███████ ██████  ██  ██ ██ ██ ████ ██ ',
-- ' `. .\' ██  ██  ██ ██  ██ ██ ██   ██ ██   ██  ██  ██  ██ ██  ██  ██ ',
-- ' `-...-\' ███████  ██████  ██   ████ ██  ██ ██  ██   ████   ██ ██  ██ ',
--
-- }
vim.g.dashboard_custom_header = O.dashboard.custom_header
2021-04-15 06:17:48 +02:00
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'},
2021-04-15 18:49:48 +02:00
e = {description = {' Settings '}, command = ':e ~/.config/nvim/lv-settings.lua'}
2021-04-15 06:17:48 +02:00
-- 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/nvim/session'
vim.g.dashboard_custom_footer = O.dashboard.footer