Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. let g:startify_custom_header = [
  2. \ '',
  3. \ '',
  4. \ ' | | | (_____) ___ \ (_____) | | (____ \(_______) | | (_______) ',
  5. \ ' | | | | _ | | _ | | _ \ \ ____) )_____ \ \ _ ',
  6. \ ' \ \/ / | | | || || | | | \ \ | __ (| ___) \ \| | ',
  7. \ ' \ / _| |_| || || | _| |_ _____) ) | |__) ) |_____ _____) ) |_____ ',
  8. \ ' \/ (_____)_||_||_| (_____|______/ |______/|_______|______/ \______) ',
  9. \ '',
  10. \ '',
  11. \ ]
  12.  
  13. let g:startify_files_number = 5
  14. let g:startify_lists = [
  15. \ { 'type': 'dir', 'header': [' My most recently used files in the current directory:'] },
  16. \ { 'type': 'files', 'header': [' My most recently used files:'] },
  17. \ { 'type': 'sessions', 'header': [' Saved sessions:'] },
  18. \ ]
  19. let g:startify_update_oldfiles = 1
  20.  
  21. " Position nerdtree on the right (rather than the left)
  22. let g:sidebar_direction = ''
  23. let g:NERDTreeWinPos=get(g:,'NERDTreeWinPos',sidebar_direction)
  24.  
  25. " Open Startify and NERDTree automatically when vim starts up if no files were specified
  26. autocmd VimEnter * if !argc() | Startify | NERDTree | winc h | endif
  27.  
  28. " Make is so that you can close vim if the only window left open is a NERDTree
  29. autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
  30.  
  31. " Toggle nerdtree on/off with with F3
  32. map <F3> :NERDTreeToggle<CR>
  33.  
  34. " For the NERDTree icons
  35. let g:WebDevIconsUnicodeDecorateFolderNodes = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement