startify.vim 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. " set custom welcome message header
  2. let g:startify_custom_header = [
  3. \ ' _ ___ ___',
  4. \ ' | \ | \ \ / (_)_ __ ___',
  5. \ ' | \| |\ \ / /| | |_ ` _ \',
  6. \ ' | |\ | \ V / | | | | | | |',
  7. \ ' |_| \_| \_/ |_|_| |_| |_|',
  8. \]
  9. " auto restart session
  10. " NOTE: If this option is enabled and you start Vim in a directory that contains a
  11. " Session.vim, that session will be loaded automatically. Otherwise it will be
  12. " shown as the top entry in the Startify buffer.
  13. let g:startify_session_autoload = 1
  14. " let startify take care of buffers
  15. let g:startify_session_delete_buffers = 1
  16. " similar to vim-rooter
  17. let g:startify_change_to_vcs_root = 1
  18. " use unicode
  19. let g:startify_fortune_use_unicode = 1
  20. " auto update sessions
  21. let g:startify_session_persistence = 1
  22. " get rid of empy buffer and quit
  23. let g:startify_enable_special = 0
  24. let g:startify_lists = [
  25. \ { 'type': 'files', 'header': [' Files'] },
  26. \ { 'type': 'dir', 'header': [' Current Directory '. getcwd()] },
  27. \ { 'type': 'sessions', 'header': [' Sessions'] },
  28. \ ]