From: Stefan Huber Date: Fri, 17 Dec 2021 23:25:22 +0000 (+0100) Subject: init: Some startify config X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=f4c1163fa6841613a9d3ab82154bfbac6862213f;p=vimconf.git init: Some startify config --- diff --git a/init.vim b/init.vim index 50cb6b4..ece77b0 100644 --- a/init.vim +++ b/init.vim @@ -232,6 +232,33 @@ let g:vimtex_fold_levelmarker = '➜' let g:termdebug_wide = 1 let termdebugger = $HOME . '/.vim/gdb.sh' + +let g:startify_files_number = 5 +let g:startify_session_persistence = 1 +let g:startify_lists = [ + \ { 'type': 'dir', 'header': [' Recent files'] }, + \ { 'type': 'sessions', 'header': [' Saved sessions'] }, + \ ] + +if has('nvim') + let g:startify_custom_header = [ + \ '', + \ ' ╻ ╻ ╻ ┏┳┓', + \ ' NEO ┃┏┛ ┃ ┃┃┃', + \ ' ┗┛ ╹ ╹ ╹', + \ '', + \ ] +else + let g:startify_custom_header = [ + \ '', + \ ' ╻ ╻ ╻ ┏┳┓', + \ ' ┃┏┛ ┃ ┃┃┃', + \ ' ┗┛ ╹ ╹ ╹', + \ '', + \ ] +endif + + if $USER != "root" && g:lowendbox == 0 " The denite settings are largely stolen from spacevim