]> git.sthu.org Git - vimconf.git/commitdiff
init: Some startify config
authorStefan Huber <shuber@sthu.org>
Fri, 17 Dec 2021 23:25:22 +0000 (00:25 +0100)
committerStefan Huber <shuber@sthu.org>
Fri, 17 Dec 2021 23:25:22 +0000 (00:25 +0100)
init.vim

index 50cb6b427d12dc50645e92567fe919b66d153dab..ece77b04629a1597fa02c2c54b7575868b5cc8b8 100644 (file)
--- 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