mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
Add doc for statusline and tabline (#1783)
This commit is contained in:
parent
31e2cc2761
commit
92aa47e3dc
@ -6,7 +6,17 @@
|
|||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
"=============================================================================
|
"=============================================================================
|
||||||
|
|
||||||
" statusline
|
""
|
||||||
|
" @section core#statusline, layer-core-statusline
|
||||||
|
" @parentsection layers
|
||||||
|
" This layer provides default statusline for SpaceVim
|
||||||
|
" If you want to use airline's statusline, just disable this layer
|
||||||
|
" >
|
||||||
|
" [[layers]]
|
||||||
|
" name = "core#statusline"
|
||||||
|
" enable = false
|
||||||
|
" <
|
||||||
|
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
let g:_spacevim_statusline_loaded = 1
|
let g:_spacevim_statusline_loaded = 1
|
||||||
" APIs
|
" APIs
|
||||||
|
@ -10,6 +10,12 @@
|
|||||||
" @section core#tabline, layer-core-tabline
|
" @section core#tabline, layer-core-tabline
|
||||||
" @parentsection layers
|
" @parentsection layers
|
||||||
" This layer provides default tabline for SpaceVim
|
" This layer provides default tabline for SpaceVim
|
||||||
|
" If you want to use airline's tabline, just disable this layer
|
||||||
|
" >
|
||||||
|
" [[layers]]
|
||||||
|
" name = "core#tabline"
|
||||||
|
" enable = false
|
||||||
|
" <
|
||||||
|
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
let s:messletters = SpaceVim#api#import('messletters')
|
let s:messletters = SpaceVim#api#import('messletters')
|
||||||
@ -32,7 +38,7 @@ let s:separators = {
|
|||||||
|
|
||||||
let s:i_separators = {
|
let s:i_separators = {
|
||||||
\ 'arrow' : ["\ue0b1", "\ue0b3"],
|
\ 'arrow' : ["\ue0b1", "\ue0b3"],
|
||||||
\ 'bar' : ["|", "|"],
|
\ 'bar' : ['|', '|'],
|
||||||
\ 'nil' : ['', ''],
|
\ 'nil' : ['', ''],
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@ CONTENTS *SpaceVim-contents*
|
|||||||
1. autocomplete..................................|SpaceVim-autocomplete|
|
1. autocomplete..................................|SpaceVim-autocomplete|
|
||||||
2. checkers....................................|SpaceVim-layer-checkers|
|
2. checkers....................................|SpaceVim-layer-checkers|
|
||||||
3. colorscheme....................................|SpaceVim-colorscheme|
|
3. colorscheme....................................|SpaceVim-colorscheme|
|
||||||
4. core#tabline............................|SpaceVim-layer-core-tabline|
|
4. core#statusline......................|SpaceVim-layer-core-statusline|
|
||||||
5. exprfold....................................|SpaceVim-layer-exprfold|
|
5. core#tabline............................|SpaceVim-layer-core-tabline|
|
||||||
6. format..............................................|SpaceVim-format|
|
6. exprfold....................................|SpaceVim-layer-exprfold|
|
||||||
7. github........................................|SpaceVim-layer-github|
|
7. format..............................................|SpaceVim-format|
|
||||||
8. incsearch..................................|SpaceVim-layer-incsearch|
|
8. github........................................|SpaceVim-layer-github|
|
||||||
9. indentmove................................|SpaceVim-layer-indentmove|
|
9. incsearch..................................|SpaceVim-layer-incsearch|
|
||||||
10. lang#c.......................................|SpaceVim-layer-lang-c|
|
10. indentmove...............................|SpaceVim-layer-indentmove|
|
||||||
11. lang#crystal...........................|SpaceVim-layer-lang-crystal|
|
11. lang#c.......................................|SpaceVim-layer-lang-c|
|
||||||
12. lang#csharp.............................|SpaceVim-layer-lang-csharp|
|
12. lang#crystal...........................|SpaceVim-layer-lang-crystal|
|
||||||
13. lang#elixir.............................|SpaceVim-layer-lang-elixir|
|
13. lang#csharp.............................|SpaceVim-layer-lang-csharp|
|
||||||
14. lang#go.....................................|SpaceVim-layer-lang-go|
|
14. lang#elixir.............................|SpaceVim-layer-lang-elixir|
|
||||||
15. lang#java.................................|SpaceVim-layer-lang-java|
|
15. lang#go.....................................|SpaceVim-layer-lang-go|
|
||||||
16. lang#julia...............................|SpaceVim-layer-lang-julia|
|
16. lang#java.................................|SpaceVim-layer-lang-java|
|
||||||
17. lang#kotlin.............................|SpaceVim-layer-lang-kotlin|
|
17. lang#julia...............................|SpaceVim-layer-lang-julia|
|
||||||
18. lang#lua...................................|SpaceVim-layer-lang-lua|
|
18. lang#kotlin.............................|SpaceVim-layer-lang-kotlin|
|
||||||
19. lang#ocaml...............................|SpaceVim-layer-lang-ocaml|
|
19. lang#lua...................................|SpaceVim-layer-lang-lua|
|
||||||
20. lang#php...................................|SpaceVim-layer-lang-php|
|
20. lang#ocaml...............................|SpaceVim-layer-lang-ocaml|
|
||||||
21. lang#pony.................................|SpaceVim-layer-lang-pony|
|
21. lang#php...................................|SpaceVim-layer-lang-php|
|
||||||
22. lang#puppet.............................|SpaceVim-layer-lang-puppet|
|
22. lang#pony.................................|SpaceVim-layer-lang-pony|
|
||||||
23. lang#python.............................|SpaceVim-layer-lang-python|
|
23. lang#puppet.............................|SpaceVim-layer-lang-puppet|
|
||||||
24. lang#rust.................................|SpaceVim-layer-lang-rust|
|
24. lang#python.............................|SpaceVim-layer-lang-python|
|
||||||
25. lang#scala...............................|SpaceVim-layer-lang-scala|
|
25. lang#rust.................................|SpaceVim-layer-lang-rust|
|
||||||
26. lang#tmux.................................|SpaceVim-layer-lang-tmux|
|
26. lang#scala...............................|SpaceVim-layer-lang-scala|
|
||||||
27. lang#xml...................................|SpaceVim-layer-lang-xml|
|
27. lang#tmux.................................|SpaceVim-layer-lang-tmux|
|
||||||
28. operator...................................|SpaceVim-layer-operator|
|
28. lang#xml...................................|SpaceVim-layer-lang-xml|
|
||||||
29. shell.........................................|SpaceVim-layer-shell|
|
29. operator...................................|SpaceVim-layer-operator|
|
||||||
30. tmux...........................................|SpaceVim-layer-tmux|
|
30. shell.........................................|SpaceVim-layer-shell|
|
||||||
31. tools#dash...............................|SpaceVim-layer-tools-dash|
|
31. tmux...........................................|SpaceVim-layer-tmux|
|
||||||
|
32. tools#dash...............................|SpaceVim-layer-tools-dash|
|
||||||
7. API........................................................|SpaceVim-api|
|
7. API........................................................|SpaceVim-api|
|
||||||
1. cmdlinemenu................................|SpaceVim-api-cmdlinemenu|
|
1. cmdlinemenu................................|SpaceVim-api-cmdlinemenu|
|
||||||
2. data#list....................................|SpaceVim-api-data-list|
|
2. data#list....................................|SpaceVim-api-data-list|
|
||||||
@ -645,10 +646,27 @@ colorscheme called atom doesn't support spell check very well.
|
|||||||
|
|
||||||
SpaceVim is not gonna fix them since these should be in charge of each author.
|
SpaceVim is not gonna fix them since these should be in charge of each author.
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
CORE#STATUSLINE *SpaceVim-layer-core-statusline*
|
||||||
|
|
||||||
|
This layer provides default statusline for SpaceVim If you want to use
|
||||||
|
airline's statusline, just disable this layer
|
||||||
|
>
|
||||||
|
[[layers]]
|
||||||
|
name = "core#statusline"
|
||||||
|
enable = false
|
||||||
|
<
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
CORE#TABLINE *SpaceVim-layer-core-tabline*
|
CORE#TABLINE *SpaceVim-layer-core-tabline*
|
||||||
|
|
||||||
This layer provides default tabline for SpaceVim
|
This layer provides default tabline for SpaceVim If you want to use airline's
|
||||||
|
tabline, just disable this layer
|
||||||
|
>
|
||||||
|
[[layers]]
|
||||||
|
name = "core#tabline"
|
||||||
|
enable = false
|
||||||
|
<
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
EXPRFOLD *SpaceVim-layer-exprfold*
|
EXPRFOLD *SpaceVim-layer-exprfold*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user