1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 12:50:04 +08:00

Make vimfiler use g:spacevim_sidebar_width

This commit is contained in:
wsdjeg 2017-02-16 21:27:49 +08:00
parent 2978e4f564
commit 55dff51ffa
3 changed files with 9 additions and 1 deletions

View File

@ -94,6 +94,10 @@ let g:spacevim_guifont = ''
" let g:spacevim_enable_ycm = 1
" <
let g:spacevim_enable_ycm = 0
""
" Set the width of value of spacevim sidebar width, and this value will be
" used by tagbar, vimfiler, mundo etc. default it is 30.
let g:spacevim_sidebar_width = 30
let g:spacevim_enable_neocomplcache = 0
""
" Enable cursorline

View File

@ -26,7 +26,7 @@ endif
call vimfiler#custom#profile('default', 'context', {
\ 'explorer' : 1,
\ 'winwidth' : 30,
\ 'winwidth' : get(g:, 'spacevim_sidebar_width', 30) ,
\ 'winminwidth' : 30,
\ 'toggle' : 1,
\ 'columns' : 'type',

View File

@ -124,6 +124,10 @@ Disable/Enable YouCompleteMe, by default it is disabled. To enable it:
let g:spacevim_enable_ycm = 1
<
*g:spacevim_sidebar_width*
Set the width of value of spacevim sidebar width, and this value will be used
by tagbar, vimfiler, mundo etc. default it is 30.
*g:spacevim_enable_cursorline*
Enable cursorline
>