summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/_startify/init.lua
blob: 3f627a00b3469db84753e628873d1ca9f63d0179 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
vim.g.startify_custom_header = {
 '    ##############..... ############## ',  
 '   ##############......##############   ',
 '     ##########..........##########     ',
 '     ##########........##########       ',
 '     ##########.......##########        ',
 '    ##########.....##########..        ',
 '     ##########....##########.....      ',
 '   ..##########..##########.........    ',
 ' ....##########.#########.............  ',
 '   ..################JJJ............    ',
 '     ################.............      ',
 '     ##############.JJJ.JJJJJJJJJJ      ',
 '     ############...JJ...JJ..JJ  JJ     ',
 '     ##########....JJ...JJ..JJ  JJ      ',
 '     ########......JJJ..JJJ JJJ JJJ     ',
 '    ######    .........                ',
 '                 .....                  ',
 '                   .   ',
        }

vim.g.webdevicons_enable_startify = 1
vim.g.startify_enable_special = 0
vim.g.startify_session_dir = '~/.config/nvim/session'
vim.g.startify_session_autoload = 1
vim.g.startify_session_delete_buffers = 1
vim.g.startify_change_to_vcs_root = 1
vim.g.startify_fortune_use_unicode = 1
vim.g.startify_session_persistence = 1
vim.g.startify_session_dir = '~/.config/nvim/session'


vim.api.nvim_exec('let startify_lists = [ { \'type\': \'files\',     \'header\': [\'   Files\'] }, { \'type\': \'sessions\',  \'header\': [\'   Sessions\'] },    { \'type\': \'bookmarks\', \'header\': [\'   Bookmarks\'] },                                                                   ]',true)

vim.api.nvim_exec('let startify_bookmarks = [ { \'i\': \'~/.config/nvim/init.lua\' }, { \'z\': \'~/.zshrc\' }]', true)

vim.cmd([[
function! StartifyEntryFormat()
        return 'WebDevIconsGetFileTypeSymbol(absolute_path) ." ". entry_path'
endfunction
]])