1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:30:05 +08:00

Add: option for list number of files on home (#2687)

* Add: option for list number of files on home

* remove unwanted file
This commit is contained in:
zeroryuki 2019-04-02 21:08:08 +08:00 committed by Wang Shidong
parent a3342e0dbe
commit c50ea97e08
2 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -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',