diff options
author | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-09-02 11:36:45 -0400 |
---|---|---|
committer | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-09-02 11:36:45 -0400 |
commit | b9ab61c78c71b684d8843d4c9675530e0b4feac2 (patch) | |
tree | d4abea859255749d1653a99277cd491ae3b01ee3 | |
parent | ae6b00ed784c7509220cec37e3603d795bc6ddf1 (diff) |
Minimize the amount of stuff on start screen
Startify is actually really cool. I wasn't sold on like project
management with vim until I saw how easy it was with startify and now I
love it.
-rw-r--r-- | after/plugin/vim-startify.rc.vim | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/after/plugin/vim-startify.rc.vim b/after/plugin/vim-startify.rc.vim index edc9de5..a44a200 100644 --- a/after/plugin/vim-startify.rc.vim +++ b/after/plugin/vim-startify.rc.vim @@ -791,5 +791,27 @@ let g:thought = [ \] -let g:startify_custom_header = - \ 'startify#center(startify#pad(startify#fortune#boxed() + startify#pad(startify#pad(startify#pad(g:thought + g:asciis[Get_random_offset(len(g:asciis))])))))' +let g:startify_custom_header = 'startify#center(startify#pad(startify#fortune#boxed() + startify#pad(startify#pad(startify#pad(g:thought + g:asciis[Get_random_offset(len(g:asciis))])))))' + +" Saves files last open whenever I quit out of vim +let g:startify_session_persistence = 1 + +" Sorts the session by last modified time instead of alphabetically +let g:startify_session_sort = 1 + +let g:startify_lists = [ + \ { 'type': 'sessions', 'header': [' Sessions'] }, + \ { 'type': 'commands', 'header': [' Commands'] }, + \ ] + " I don't really like these. They open you in whatever directory the + " file is in, which might be ok for some people, but is messes with my + " ctrl-p (find file) shortcut and also nerd tree. I also haven't found + " any use for bookmarks yet + " \ { 'type': 'bookmarks', 'header': [' Bookmarks'] }, + " \ { 'type': 'files', 'header': [' MRU'] }, + " \ { 'type': 'dir', 'header': [' MRU '. getcwd()] }, + +let g:startify_commands = [ + \['Vimwiki Index', 'VimwikiIndex'], + \["Today's Diary", 'VimwikiMakeDiaryNote'], + \] |