From f4c1163fa6841613a9d3ab82154bfbac6862213f Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Sat, 18 Dec 2021 00:25:22 +0100 Subject: [PATCH] init: Some startify config --- init.vim | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 -- 2.39.5