diff options
| author | Chris <[email protected]> | 2021-03-21 22:40:26 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2021-03-21 22:40:26 -0400 | 
| commit | b67c80c70ca15a81894d99713116513b5fd8c62d (patch) | |
| tree | b2487d6217fe223552b6d5ba7fff56dc2bfc3a28 /lua/nv-dashboard | |
| parent | 23e7663aa4e19cfa8c9359694de748a92a22c9e6 (diff) | |
replace startify with dashboard
Diffstat (limited to 'lua/nv-dashboard')
| -rw-r--r-- | lua/nv-dashboard/init.lua | 35 | 
1 files changed, 35 insertions, 0 deletions
diff --git a/lua/nv-dashboard/init.lua b/lua/nv-dashboard/init.lua new file mode 100644 index 00000000..e4c54177 --- /dev/null +++ b/lua/nv-dashboard/init.lua @@ -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'}  | 
