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

Add bepo layout support (#2746)

This commit is contained in:
Wang Shidong 2019-04-13 22:12:33 +08:00 committed by GitHub
parent 0a2be9fb93
commit dc1975038f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 19 deletions

View File

@ -76,6 +76,20 @@ let g:spacevim_expand_tab = 1
" Enable/Disable relativenumber, by default it is enabled.
let g:spacevim_relativenumber = 1
""
" @section enable_bepo_layout, options-enable_bepo_layout
" @parentsection options
" Enable/Disable bepo layout, by default it is disabled.
" >
" enable_bepo_layout = true
" <
""
" Enable/Disable bepo layout, by default it is disabled.
let g:spacevim_enable_bepo_layout = 0
""
" @section max_column, options-max_column
" @parentsection options

View File

@ -33,6 +33,9 @@ function! SpaceVim#layers#edit#plugins() abort
if executable('fcitx')
call add(plugins,['lilydjwg/fcitx.vim', { 'on_event' : 'InsertEnter'}])
endif
if g:spacevim_enable_bepo_layout
call add(plugins,['michamos/vim-bepo', { 'merged' : 0}])
endif
return plugins
endfunction

View File

@ -21,25 +21,26 @@ CONTENTS *SpaceVim-contents*
1. checkinstall..........................|SpaceVim-options-checkinstall|
2. default_indent......................|SpaceVim-options-default_indent|
3. enable_ale..............................|SpaceVim-options-enable_ale|
4. enable_googlesuggest..........|SpaceVim-options-enable_googlesuggest|
5. enable_guicolors..................|SpaceVim-options-enable_guicolors|
6. enable_insert_leader..........|SpaceVim-options-enable_insert_leader|
7. enable_neomake......................|SpaceVim-options-enable_neomake|
8. enable_statusline_mode......|SpaceVim-options-enable_statusline_mode|
9. enable_statusline_tag........|SpaceVim-options-enable_statusline_tag|
10. enable_ycm.............................|SpaceVim-options-enable_ycm|
11. error_symbol.........................|SpaceVim-options-error_symbol|
12. guifont...................................|SpaceVim-options-guifont|
13. lint_on_the_fly...................|SpaceVim-options-lint_on_the_fly|
14. max_column.............................|SpaceVim-options-max_column|
15. max_column......................|SpaceVim-options-home_files_number|
16. plugin_bundle_dir...............|SpaceVim-options-plugin_bundle_dir|
17. plugin_manager_processes.|SpaceVim-options-plugin_manager_processes|
18. realtime_leader_guide.......|SpaceVim-options-realtime_leader_guide|
19. relativenumber.....................|SpaceVim-options-relativenumber|
20. sidebar_width.......................|SpaceVim-options-sidebar_width|
21. snippet_engine.....................|SpaceVim-options-snippet_engine|
22. windows_leader.....................|SpaceVim-options-windows_leader|
4. enable_bepo_layout..............|SpaceVim-options-enable_bepo_layout|
5. enable_googlesuggest..........|SpaceVim-options-enable_googlesuggest|
6. enable_guicolors..................|SpaceVim-options-enable_guicolors|
7. enable_insert_leader..........|SpaceVim-options-enable_insert_leader|
8. enable_neomake......................|SpaceVim-options-enable_neomake|
9. enable_statusline_mode......|SpaceVim-options-enable_statusline_mode|
10. enable_statusline_tag.......|SpaceVim-options-enable_statusline_tag|
11. enable_ycm.............................|SpaceVim-options-enable_ycm|
12. error_symbol.........................|SpaceVim-options-error_symbol|
13. guifont...................................|SpaceVim-options-guifont|
14. lint_on_the_fly...................|SpaceVim-options-lint_on_the_fly|
15. max_column.............................|SpaceVim-options-max_column|
16. max_column......................|SpaceVim-options-home_files_number|
17. plugin_bundle_dir...............|SpaceVim-options-plugin_bundle_dir|
18. plugin_manager_processes.|SpaceVim-options-plugin_manager_processes|
19. realtime_leader_guide.......|SpaceVim-options-realtime_leader_guide|
20. relativenumber.....................|SpaceVim-options-relativenumber|
21. sidebar_width.......................|SpaceVim-options-sidebar_width|
22. snippet_engine.....................|SpaceVim-options-snippet_engine|
23. windows_leader.....................|SpaceVim-options-windows_leader|
3. Configuration...........................................|SpaceVim-config|
4. Commands..............................................|SpaceVim-commands|
5. Functions............................................|SpaceVim-functions|
@ -145,6 +146,14 @@ Use ale for syntax checking, disabled by default.
enable_ale = true
<
==============================================================================
ENABLE_BEPO_LAYOUT *SpaceVim-options-enable_bepo_layout*
Enable/Disable bepo layout, by default it is disabled.
>
enable_bepo_layout = true
<
==============================================================================
ENABLE_GOOGLESUGGEST *SpaceVim-options-enable_googlesuggest*
@ -314,6 +323,9 @@ In Insert mode: Use the appropriate number of spaces to insert a <Tab>
*g:spacevim_relativenumber*
Enable/Disable relativenumber, by default it is enabled.
*g:spacevim_enable_bepo_layout*
Enable/Disable bepo layout, by default it is disabled.
*g:spacevim_max_column*
Change the max number of columns for SpaceVim. Default is 120.
>