mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-19 10:15:01 +02:00
replace startify with dashboard
This commit is contained in:
parent
23e7663aa4
commit
b67c80c70c
6 changed files with 46 additions and 7 deletions
35
lua/nv-dashboard/init.lua
Normal file
35
lua/nv-dashboard/init.lua
Normal file
|
@ -0,0 +1,35 @@
|
|||
vim.g.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 = {' 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 = {'chrisatmachine.com'}
|
Loading…
Add table
Add a link
Reference in a new issue