diff --git a/autoload/SpaceVim.vim b/autoload/SpaceVim.vim index ae414bc14..f1d53066e 100644 --- a/autoload/SpaceVim.vim +++ b/autoload/SpaceVim.vim @@ -91,6 +91,22 @@ let g:spacevim_relativenumber = 1 " < let g:spacevim_max_column = 120 +"" +" @section max_column, options-home_files_number +" @parentsection options +" Change the list number of files for SpaceVim home. Default is 6. +" > +" home_files_number = 6 +" < + +"" +" Change the list number of files for SpaceVim home. Default is 6. +" > +" let g:spacevim_home_files_number = 6 +" < +let g:spacevim_home_files_number = 6 + + "" " @section enable_guicolors, options-enable_guicolors " @parentsection options diff --git a/config/plugins/vim-startify.vim b/config/plugins/vim-startify.vim index b5d23aea4..e5530110c 100644 --- a/config/plugins/vim-startify.vim +++ b/config/plugins/vim-startify.vim @@ -24,7 +24,7 @@ fu! s:update_logo() endif endf let g:startify_session_dir = $HOME . '/.data/' . ( has('nvim') ? 'nvim' : 'vim' ) . '/session' -let g:startify_files_number = 6 +let g:startify_files_number = g:spacevim_home_files_number let g:startify_list_order = [ \ [' My most recently used files in the current directory:'], \ 'dir',