diff options
-rw-r--r-- | .vimrc | 24 |
1 files changed, 17 insertions, 7 deletions
@@ -79,14 +79,25 @@ call defx#custom#option('_', { \ }) " Startify -let g:startify_custom_header = [ - \ ' ___ __ ______ _ _ _______', - \ ' / _ \/ / / / __ `/____| | / / ___/', - \ ' / __/ /_/ / /_/ /_____/ |/ (__ ) ', - \ ' \___/\__,_/\__, / |___/____/ ', - \ ' /____/ ', +let g:startify_session_delete_buffers = 1 +let g:startify_session_persistence = 1 +let g:startify_change_to_vcs_root = 1 +let g:startify_padding_left = 4 + +let g:startify_custom_header = startify#pad(startify#fortune#cowsay('', '═','║','╔','╗','╝','╚')) + +let g:startify_bookmarks = [ + \ { 'r': '~/.vimrc' }, + \ { 'z': '~/.zshrc' }, +\ ] + +let g:startify_lists = [ + \ { 'type': 'bookmarks', 'header': [' Bookmarks:'] }, + \ { 'type': 'dir', 'header': [' Recently edited files:'] }, + \ { 'type': 'sessions', 'header': [' Sessions:'] }, \] + " startup screen autocmd VimEnter * \ if !argc() @@ -140,4 +151,3 @@ function! VimwikiLinkHandler(link) endfunction " TODO: command to toggle comments https://www.chrisatmachine.com/Neovim/09-vim-commentary/ -" TODO: sessions https://www.chrisatmachine.com/Neovim/11-startify/ |