2021-02-11 21:57:11 +08:00
|
|
|
|
*SpaceVim.txt*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/###### /## /##/##
|
|
|
|
|
/##__ ## | ## | #|__/
|
|
|
|
|
| ## \__/ /###### /###### /####### /######| ## | ##/##/######/####
|
|
|
|
|
| ###### /##__ ##|____ ##/##_____//##__ #| ## / ##| #| ##_ ##_ ##
|
|
|
|
|
\____ #| ## \ ## /######| ## | ########\ ## ##/| #| ## \ ## \ ##
|
|
|
|
|
/## \ #| ## | ##/##__ #| ## | ##_____/ \ ###/ | #| ## | ## | ##
|
|
|
|
|
| ######| #######| ######| ######| ####### \ #/ | #| ## | ## | ##
|
|
|
|
|
\______/| ##____/ \_______/\_______/\_______/ \_/ |__|__/ |__/ |__/
|
|
|
|
|
| ##
|
|
|
|
|
| ##
|
|
|
|
|
|__/
|
|
|
|
|
wsdjeg *spacevim* *SpaceVim*
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
CONTENTS *SpaceVim-contents*
|
|
|
|
|
1. Introduction.............................................|SpaceVim-intro|
|
|
|
|
|
2. Options................................................|SpaceVim-options|
|
|
|
|
|
1. autocomplete_method............|SpaceVim-options-autocomplete_method|
|
|
|
|
|
2. autocomplete_parens............|SpaceVim-options-autocomplete_parens|
|
2021-10-01 18:49:22 +08:00
|
|
|
|
3. bootstrap_after....................|SpaceVim-options-bootstrap_after|
|
|
|
|
|
4. bootstrap_before..................|SpaceVim-options-bootstrap_before|
|
|
|
|
|
5. buffer_index_type................|SpaceVim-options-buffer_index_type|
|
|
|
|
|
6. checkinstall..........................|SpaceVim-options-checkinstall|
|
|
|
|
|
7. code_runner_focus................|SpaceVim-options-code_runner_focus|
|
|
|
|
|
8. colorscheme............................|SpaceVim-options-colorscheme|
|
|
|
|
|
9. colorscheme_bg......................|SpaceVim-options-colorscheme_bg|
|
|
|
|
|
10. data_dir.................................|SpaceVim-options-data_dir|
|
|
|
|
|
11. default_custom_leader.......|SpaceVim-options-default_custom_leader|
|
|
|
|
|
12. default_indent.....................|SpaceVim-options-default_indent|
|
|
|
|
|
13. enable_bepo_layout.............|SpaceVim-options-enable_bepo_layout|
|
|
|
|
|
14. enable_cursorcolumn...........|SpaceVim-options-enable_cursorcolumn|
|
|
|
|
|
15. enable_cursorline...............|SpaceVim-options-enable_cursorline|
|
|
|
|
|
16. enable_debug.........................|SpaceVim-options-enable_debug|
|
|
|
|
|
17. enable_googlesuggest.........|SpaceVim-options-enable_googlesuggest|
|
|
|
|
|
18. enable_guicolors.................|SpaceVim-options-enable_guicolors|
|
|
|
|
|
19. enable_key_frequency.........|SpaceVim-options-enable_key_frequency|
|
|
|
|
|
20. enable_projects_cache.......|SpaceVim-options-enable_projects_cache|
|
|
|
|
|
21. enable_statusline_bfpath.|SpaceVim-options-enable_statusline_bfpath|
|
|
|
|
|
22. enable_statusline_mode.....|SpaceVim-options-enable_statusline_mode|
|
|
|
|
|
23. enable_statusline_tag.......|SpaceVim-options-enable_statusline_tag|
|
|
|
|
|
24. enable_tabline_ft_icon.....|SpaceVim-options-enable_tabline_ft_icon|
|
|
|
|
|
25. enable_vimfiler_welcome...|SpaceVim-options-enable_vimfiler_welcome|
|
|
|
|
|
26. enable_ycm.............................|SpaceVim-options-enable_ycm|
|
|
|
|
|
27. error_symbol.........................|SpaceVim-options-error_symbol|
|
|
|
|
|
28. escape_key_binding.............|SpaceVim-options-escape_key_binding|
|
|
|
|
|
29. file_searching_tools.........|SpaceVim-options-file_searching_tools|
|
|
|
|
|
30. filemanager...........................|SpaceVim-options-filemanager|
|
|
|
|
|
31. filetree_direction.............|SpaceVim-options-filetree_direction|
|
|
|
|
|
32. guifont...................................|SpaceVim-options-guifont|
|
|
|
|
|
33. home_files_number...............|SpaceVim-options-home_files_number|
|
|
|
|
|
34. info_symbol...........................|SpaceVim-options-info_symbol|
|
|
|
|
|
35. keep_server_alive...............|SpaceVim-options-keep_server_alive|
|
|
|
|
|
36. language.................................|SpaceVim-options-language|
|
|
|
|
|
37. lint_engine...........................|SpaceVim-options-lint_engine|
|
|
|
|
|
38. lint_on_the_fly...................|SpaceVim-options-lint_on_the_fly|
|
|
|
|
|
39. max_column.............................|SpaceVim-options-max_column|
|
|
|
|
|
40. plugin_bundle_dir...............|SpaceVim-options-plugin_bundle_dir|
|
|
|
|
|
41. plugin_manager_processes.|SpaceVim-options-plugin_manager_processes|
|
|
|
|
|
42. project_auto_root...............|SpaceVim-options-project_auto_root|
|
|
|
|
|
43. project_rooter_outermost.|SpaceVim-options-project_rooter_outermost|
|
|
|
|
|
44. project_rooter_patterns...|SpaceVim-options-project_rooter_patterns|
|
|
|
|
|
45. projects_cache_num.............|SpaceVim-options-projects_cache_num|
|
|
|
|
|
46. realtime_leader_guide.......|SpaceVim-options-realtime_leader_guide|
|
|
|
|
|
47. relativenumber.....................|SpaceVim-options-relativenumber|
|
|
|
|
|
48. retry_cnt...............................|SpaceVim-options-retry_cnt|
|
|
|
|
|
49. search_tools.........................|SpaceVim-options-search_tools|
|
|
|
|
|
50. sidebar_width.......................|SpaceVim-options-sidebar_width|
|
|
|
|
|
51. snippet_engine.....................|SpaceVim-options-snippet_engine|
|
|
|
|
|
52. statusline_iseparator.......|SpaceVim-options-statusline_iseparator|
|
|
|
|
|
53. statusline_left_sections.|SpaceVim-options-statusline_left_sections|
|
|
|
|
|
54. statusline_separator.........|SpaceVim-options-statusline_separator|
|
|
|
|
|
55. statusline_unicode.............|SpaceVim-options-statusline_unicode|
|
|
|
|
|
56. terminal_cursor_shape.......|SpaceVim-options-terminal_cursor_shape|
|
|
|
|
|
57. vim_help_language...............|SpaceVim-options-vim_help_language|
|
|
|
|
|
58. vimcompatible.......................|SpaceVim-options-vimcompatible|
|
|
|
|
|
59. warning_symbol.....................|SpaceVim-options-warning_symbol|
|
|
|
|
|
60. windows_index_type.............|SpaceVim-options-windows_index_type|
|
|
|
|
|
61. windows_leader.....................|SpaceVim-options-windows_leader|
|
|
|
|
|
62. windows_smartclose.............|SpaceVim-options-windows_smartclose|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
3. Configuration...........................................|SpaceVim-config|
|
|
|
|
|
4. Commands..............................................|SpaceVim-commands|
|
|
|
|
|
5. Functions............................................|SpaceVim-functions|
|
|
|
|
|
6. Layers..................................................|SpaceVim-layers|
|
2021-09-20 22:16:14 +08:00
|
|
|
|
1. autocomplete...........................|SpaceVim-layers-autocomplete|
|
|
|
|
|
2. checkers...................................|SpaceVim-layers-checkers|
|
|
|
|
|
3. colorscheme.............................|SpaceVim-layers-colorscheme|
|
|
|
|
|
4. core...........................................|SpaceVim-layers-core|
|
|
|
|
|
5. core#statusline.....................|SpaceVim-layers-core-statusline|
|
|
|
|
|
6. core#tabline...........................|SpaceVim-layers-core-tabline|
|
2021-09-20 23:14:28 +08:00
|
|
|
|
7. cscope.......................................|SpaceVim-layers-cscope|
|
|
|
|
|
8. exprfold...................................|SpaceVim-layers-exprfold|
|
|
|
|
|
9. format.......................................|SpaceVim-layers-format|
|
|
|
|
|
10. git............................................|SpaceVim-layers-git|
|
|
|
|
|
11. github......................................|SpaceVim-layers-github|
|
|
|
|
|
12. gtags........................................|SpaceVim-layers-gtags|
|
|
|
|
|
13. incsearch................................|SpaceVim-layers-incsearch|
|
|
|
|
|
14. indentmove..............................|SpaceVim-layers-indentmove|
|
|
|
|
|
15. lang#actionscript................|SpaceVim-layers-lang-actionscript|
|
|
|
|
|
16. lang#agda................................|SpaceVim-layers-lang-agda|
|
|
|
|
|
17. lang#asciidoc........................|SpaceVim-layers-lang-asciidoc|
|
|
|
|
|
18. lang#asepctj..........................|SpaceVim-layers-lang-asepctj|
|
|
|
|
|
19. lang#assembly........................|SpaceVim-layers-lang-assembly|
|
|
|
|
|
20. lang#autohotkey....................|SpaceVim-layers-lang-autohotkey|
|
2021-10-01 18:27:41 +08:00
|
|
|
|
21. lang#autoit............................|SpaceVim-layers-lang-autoit|
|
|
|
|
|
22. lang#batch..............................|SpaceVim-layers-lang-batch|
|
|
|
|
|
23. lang#c......................................|SpaceVim-layers-lang-c|
|
|
|
|
|
24. lang#chapel............................|SpaceVim-layers-lang-chapel|
|
|
|
|
|
25. lang#clojure..........................|SpaceVim-layers-lang-clojure|
|
|
|
|
|
26. lang#coffeescript................|SpaceVim-layers-lang-coffeescript|
|
|
|
|
|
27. lang#crystal..........................|SpaceVim-layers-lang-crystal|
|
|
|
|
|
28. lang#csharp............................|SpaceVim-layers-lang-csharp|
|
|
|
|
|
29. lang#d......................................|SpaceVim-layers-lang-d|
|
|
|
|
|
30. lang#dart................................|SpaceVim-layers-lang-dart|
|
|
|
|
|
31. lang#dockerfile....................|SpaceVim-layers-lang-dockerfile|
|
|
|
|
|
32. lang#e......................................|SpaceVim-layers-lang-e|
|
|
|
|
|
33. lang#eiffel............................|SpaceVim-layers-lang-eiffel|
|
|
|
|
|
34. lang#elixir............................|SpaceVim-layers-lang-elixir|
|
|
|
|
|
35. lang#elm..................................|SpaceVim-layers-lang-elm|
|
|
|
|
|
36. lang#erlang............................|SpaceVim-layers-lang-erlang|
|
|
|
|
|
37. lang#extra..............................|SpaceVim-layers-lang-extra|
|
2021-10-01 19:52:49 +08:00
|
|
|
|
38. lang#fennel............................|SpaceVim-layers-lang-fennel|
|
|
|
|
|
39. lang#forth..............................|SpaceVim-layers-lang-forth|
|
|
|
|
|
40. lang#fortran..........................|SpaceVim-layers-lang-fortran|
|
|
|
|
|
41. lang#foxpro............................|SpaceVim-layers-lang-foxpro|
|
|
|
|
|
42. lang#fsharp............................|SpaceVim-layers-lang-fsharp|
|
|
|
|
|
43. lang#go....................................|SpaceVim-layers-lang-go|
|
|
|
|
|
44. lang#goby................................|SpaceVim-layers-lang-goby|
|
|
|
|
|
45. lang#gosu................................|SpaceVim-layers-lang-gosu|
|
|
|
|
|
46. lang#graphql..........................|SpaceVim-layers-lang-graphql|
|
|
|
|
|
47. lang#groovy............................|SpaceVim-layers-lang-groovy|
|
|
|
|
|
48. lang#hack................................|SpaceVim-layers-lang-hack|
|
|
|
|
|
49. lang#haskell..........................|SpaceVim-layers-lang-haskell|
|
|
|
|
|
50. lang#html................................|SpaceVim-layers-lang-html|
|
|
|
|
|
51. lang#hy....................................|SpaceVim-layers-lang-hy|
|
|
|
|
|
52. lang#idris..............................|SpaceVim-layers-lang-idris|
|
|
|
|
|
53. lang#io....................................|SpaceVim-layers-lang-io|
|
|
|
|
|
54. lang#j......................................|SpaceVim-layers-lang-j|
|
|
|
|
|
55. lang#janet..............................|SpaceVim-layers-lang-janet|
|
|
|
|
|
56. lang#java................................|SpaceVim-layers-lang-java|
|
|
|
|
|
57. lang#javascript....................|SpaceVim-layers-lang-javascript|
|
|
|
|
|
58. lang#json................................|SpaceVim-layers-lang-json|
|
|
|
|
|
59. lang#julia..............................|SpaceVim-layers-lang-julia|
|
|
|
|
|
60. lang#kotlin............................|SpaceVim-layers-lang-kotlin|
|
|
|
|
|
61. lang#latex..............................|SpaceVim-layers-lang-latex|
|
|
|
|
|
62. lang#lisp................................|SpaceVim-layers-lang-lisp|
|
|
|
|
|
63. lang#livescript....................|SpaceVim-layers-lang-livescript|
|
|
|
|
|
64. lang#lua..................................|SpaceVim-layers-lang-lua|
|
|
|
|
|
65. lang#markdown........................|SpaceVim-layers-lang-markdown|
|
|
|
|
|
66. lang#moonscript....................|SpaceVim-layers-lang-moonscript|
|
|
|
|
|
67. lang#nim..................................|SpaceVim-layers-lang-nim|
|
|
|
|
|
68. lang#nix..................................|SpaceVim-layers-lang-nix|
|
|
|
|
|
69. lang#ocaml..............................|SpaceVim-layers-lang-ocaml|
|
|
|
|
|
70. lang#pact................................|SpaceVim-layers-lang-pact|
|
|
|
|
|
71. lang#pascal............................|SpaceVim-layers-lang-pascal|
|
|
|
|
|
72. lang#perl................................|SpaceVim-layers-lang-perl|
|
|
|
|
|
73. lang#php..................................|SpaceVim-layers-lang-php|
|
|
|
|
|
74. lang#pony................................|SpaceVim-layers-lang-pony|
|
|
|
|
|
75. lang#processing....................|SpaceVim-layers-lang-processing|
|
|
|
|
|
76. lang#prolog............................|SpaceVim-layers-lang-prolog|
|
|
|
|
|
77. lang#puppet............................|SpaceVim-layers-lang-puppet|
|
|
|
|
|
78. lang#purescript....................|SpaceVim-layers-lang-purescript|
|
|
|
|
|
79. lang#python............................|SpaceVim-layers-lang-python|
|
|
|
|
|
80. lang#racket............................|SpaceVim-layers-lang-racket|
|
|
|
|
|
81. lang#racket...............................|SpaceVim-layers-lang-red|
|
|
|
|
|
82. lang#reason............................|SpaceVim-layers-lang-reason|
|
|
|
|
|
83. lang#ring...................................|SpaceVim-layers-lang-r|
|
|
|
|
|
84. lang#ring................................|SpaceVim-layers-lang-ring|
|
|
|
|
|
85. lang#ruby................................|SpaceVim-layers-lang-ruby|
|
|
|
|
|
86. lang#rust................................|SpaceVim-layers-lang-rust|
|
|
|
|
|
87. lang#scala..............................|SpaceVim-layers-lang-scala|
|
|
|
|
|
88. lang#scheme............................|SpaceVim-layers-lang-scheme|
|
|
|
|
|
89. lang#sh....................................|SpaceVim-layers-lang-sh|
|
2021-10-03 19:41:15 +08:00
|
|
|
|
90. lang#smalltalk......................|SpaceVim-layers-lang-smalltalk|
|
|
|
|
|
91. lang#sml..................................|SpaceVim-layers-lang-sml|
|
|
|
|
|
92. lang#swig...............................|SpaceVim-layers-lang-swift|
|
|
|
|
|
93. lang#swig................................|SpaceVim-layers-lang-swig|
|
|
|
|
|
94. lang#tcl..................................|SpaceVim-layers-lang-tcl|
|
|
|
|
|
95. lang#toml................................|SpaceVim-layers-lang-toml|
|
|
|
|
|
96. lang#typescript....................|SpaceVim-layers-lang-typescript|
|
|
|
|
|
97. lang#v......................................|SpaceVim-layers-lang-v|
|
|
|
|
|
98. lang#vbnet..............................|SpaceVim-layers-lang-vbnet|
|
|
|
|
|
99. lang#vim..................................|SpaceVim-layers-lang-vim|
|
|
|
|
|
100. lang#vue.................................|SpaceVim-layers-lang-vue|
|
|
|
|
|
101. lang#wolfram.........................|SpaceVim-layers-lang-wolfram|
|
|
|
|
|
102. lang#xml.................................|SpaceVim-layers-lang-xml|
|
|
|
|
|
103. lang#xquery...........................|SpaceVim-layers-lang-xquery|
|
|
|
|
|
104. lang#zig.................................|SpaceVim-layers-lang-zig|
|
|
|
|
|
105. language server protocol......................|SpaceVim-layers-lsp|
|
|
|
|
|
106. leaderf...................................|SpaceVim-layers-leaderf|
|
|
|
|
|
107. operator.................................|SpaceVim-layers-operator|
|
|
|
|
|
108. shell.......................................|SpaceVim-layers-shell|
|
|
|
|
|
109. test.........................................|SpaceVim-layers-test|
|
|
|
|
|
110. tmux.........................................|SpaceVim-layers-tmux|
|
|
|
|
|
111. tools#dash.............................|SpaceVim-layers-tools-dash|
|
2021-10-03 20:09:30 +08:00
|
|
|
|
112. tools#mpv...............................|SpaceVim-layers-tools-mpv|
|
|
|
|
|
113. tools#zeal.............................|SpaceVim-layers-tools-zeal|
|
2021-10-05 15:30:36 +08:00
|
|
|
|
114. treesitter.............................|SpaceVim-layers-treesitter|
|
|
|
|
|
115. ui.............................................|SpaceVim-layers-ui|
|
|
|
|
|
116. unite.......................................|SpaceVim-layers-unite|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
7. Usage....................................................|SpaceVim-usage|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
1. buffers-and-files..................|SpaceVim-usage-buffers-and-files|
|
|
|
|
|
2. custom_plugins........................|SpaceVim-usage-custom_plugins|
|
|
|
|
|
3. repl............................................|SpaceVim-usage-repl|
|
|
|
|
|
4. tasks..........................................|SpaceVim-usage-tasks|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
8. API........................................................|SpaceVim-api|
|
|
|
|
|
1. cmdlinemenu................................|SpaceVim-api-cmdlinemenu|
|
|
|
|
|
2. data#dict....................................|SpaceVim-api-data-dict|
|
|
|
|
|
3. data#list....................................|SpaceVim-api-data-list|
|
|
|
|
|
4. data#number................................|SpaceVim-api-data-number|
|
|
|
|
|
5. data#string................................|SpaceVim-api-data-string|
|
|
|
|
|
6. job................................................|SpaceVim-api-job|
|
|
|
|
|
7. logger..........................................|SpaceVim-api-logger|
|
|
|
|
|
8. password......................................|SpaceVim-api-password|
|
|
|
|
|
9. prompt..........................................|SpaceVim-api-prompt|
|
|
|
|
|
10. sid...........................................|SpaceVim-api-vim-sid|
|
|
|
|
|
11. system.........................................|SpaceVim-api-system|
|
|
|
|
|
12. unicode#box...............................|SpaceVim-api-unicode-box|
|
|
|
|
|
13. vim#buffer.................................|SpaceVim-api-vim-buffer|
|
|
|
|
|
14. vim#buffer.................................|SpaceVim-api-vim-window|
|
|
|
|
|
15. vim#command...............................|SpaceVim-api-vim-command|
|
|
|
|
|
16. vim#compatible.........................|SpaceVim-api-vim-compatible|
|
|
|
|
|
17. vim#message...............................|SpaceVim-api-vim-message|
|
2021-09-28 23:37:52 +08:00
|
|
|
|
9. Development................................................|SpaceVim-dev|
|
|
|
|
|
1. commit-style-guide..................|SpaceVim-dev-commit-style-guide|
|
|
|
|
|
10. FAQ.......................................................|SpaceVim-faq|
|
|
|
|
|
11. Changelog...........................................|SpaceVim-changelog|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
INTRODUCTION *SpaceVim-intro*
|
|
|
|
|
|
|
|
|
|
SpaceVim is a bundle of custom settings and plugins with a modular
|
|
|
|
|
configuration for Vim. It was inspired by Spacemacs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
OPTIONS *SpaceVim-options*
|
|
|
|
|
|
|
|
|
|
SpaceVim uses `~/.SpaceVim.d/init.toml` as its default global config file. You
|
|
|
|
|
can set all the SpaceVim options and layers in it. `~/.SpaceVim.d/` will also
|
|
|
|
|
be added to runtimepath, so you can write your own scripts in it. SpaceVim
|
|
|
|
|
also supports local config for each project. Place local config settings in
|
|
|
|
|
`.SpaceVim.d/init.toml` in the root directory of your project. `.SpaceVim.d/`
|
|
|
|
|
will also be added to runtimepath.
|
|
|
|
|
|
|
|
|
|
here is an example setting SpaceVim options:
|
|
|
|
|
>
|
|
|
|
|
[options]
|
|
|
|
|
enable-guicolors = true
|
|
|
|
|
max-column = 120
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
AUTOCOMPLETE_METHOD *SpaceVim-options-autocomplete_method*
|
|
|
|
|
|
|
|
|
|
Set the autocomplete engine of spacevim, the default logic is:
|
|
|
|
|
>
|
|
|
|
|
if has('python3')
|
|
|
|
|
let g:spacevim_autocomplete_method = 'deoplete'
|
|
|
|
|
elseif has('lua')
|
|
|
|
|
let g:spacevim_autocomplete_method = 'neocomplete'
|
|
|
|
|
elseif has('python')
|
|
|
|
|
let g:spacevim_autocomplete_method = 'completor'
|
|
|
|
|
elseif has('timers')
|
|
|
|
|
let g:spacevim_autocomplete_method = 'asyncomplete'
|
|
|
|
|
else
|
|
|
|
|
let g:spacevim_autocomplete_method = 'neocomplcache'
|
|
|
|
|
endif
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
and you can alse set this option to coc, then coc.nvim will be used.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
AUTOCOMPLETE_PARENS *SpaceVim-options-autocomplete_parens*
|
|
|
|
|
|
|
|
|
|
Enable/Disable autocompletion of parentheses, default is true (enabled).
|
|
|
|
|
>
|
|
|
|
|
autocomplete_parens = false
|
|
|
|
|
<
|
|
|
|
|
|
2021-10-01 18:49:22 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
BOOTSTRAP_AFTER *SpaceVim-options-bootstrap_after*
|
|
|
|
|
|
|
|
|
|
set the bootstrap_after function, this function will be called on `VimEnter`
|
|
|
|
|
event.
|
|
|
|
|
>
|
|
|
|
|
[options]
|
|
|
|
|
bootstrap_after = 'myspacevim#after'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
BOOTSTRAP_BEFORE *SpaceVim-options-bootstrap_before*
|
|
|
|
|
|
|
|
|
|
set the bootstrap_before function, this function will be called when loading
|
|
|
|
|
custom configuration file. for example:
|
|
|
|
|
>
|
|
|
|
|
[options]
|
|
|
|
|
bootstrap_before = 'myspacevim#before'
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
BUFFER_INDEX_TYPE *SpaceVim-options-buffer_index_type*
|
|
|
|
|
|
|
|
|
|
Set SpaceVim buffer index type, default is 4.
|
|
|
|
|
>
|
|
|
|
|
# types:
|
|
|
|
|
# 0: 1 ➛ ➊
|
|
|
|
|
# 1: 1 ➛ ➀
|
|
|
|
|
# 2: 1 ➛ ⓵
|
|
|
|
|
# 3: 1 ➛ ¹
|
|
|
|
|
# 4: 1 ➛ 1
|
|
|
|
|
buffer_index_type = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
CHECKINSTALL *SpaceVim-options-checkinstall*
|
|
|
|
|
|
|
|
|
|
Enable/Disable checkinstall on SpaceVim startup. Default is true.
|
|
|
|
|
>
|
|
|
|
|
checkinstall = true
|
|
|
|
|
<
|
|
|
|
|
|
2021-10-01 15:25:42 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
CODE_RUNNER_FOCUS *SpaceVim-options-code_runner_focus*
|
|
|
|
|
|
|
|
|
|
enable/disable code runner window focus mode, by default this option is
|
|
|
|
|
`false`, to enable this mode, set this option to `true`.
|
|
|
|
|
>
|
|
|
|
|
code_runner_focus = true
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
COLORSCHEME *SpaceVim-options-colorscheme*
|
|
|
|
|
|
|
|
|
|
The colorscheme of SpaceVim. Default is 'gruvbox'.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
COLORSCHEME_BG *SpaceVim-options-colorscheme_bg*
|
|
|
|
|
|
|
|
|
|
The background of colorscheme. Default is 'dark'.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
DATA_DIR *SpaceVim-options-data_dir*
|
|
|
|
|
|
|
|
|
|
Set the cache directory of SpaceVim. Default is `$XDG_CACHE_HOME` or if not
|
|
|
|
|
set `~/.cache¸.
|
|
|
|
|
>
|
|
|
|
|
data_dir = "~/.cache"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
DEFAULT_CUSTOM_LEADER *SpaceVim-options-default_custom_leader*
|
|
|
|
|
|
|
|
|
|
Change the default custom leader of SpaceVim. Default is <Space>.
|
|
|
|
|
>
|
|
|
|
|
default_custom_leader = "<Space>"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
DEFAULT_INDENT *SpaceVim-options-default_indent*
|
|
|
|
|
|
|
|
|
|
Change the default indentation of SpaceVim. Default is 2.
|
|
|
|
|
>
|
|
|
|
|
default_indent = 2
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_BEPO_LAYOUT *SpaceVim-options-enable_bepo_layout*
|
|
|
|
|
|
|
|
|
|
Enable/Disable bepo layout, by default it is disabled.
|
|
|
|
|
>
|
|
|
|
|
enable_bepo_layout = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_CURSORCOLUMN *SpaceVim-options-enable_cursorcolumn*
|
|
|
|
|
|
|
|
|
|
Enable/Disable cursorcolumn. Default is 0, cursorcolumn will be highlighted in
|
|
|
|
|
normal mode. To enable this feature:
|
|
|
|
|
>
|
|
|
|
|
enable_cursorcolumn = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_CURSORLINE *SpaceVim-options-enable_cursorline*
|
|
|
|
|
|
|
|
|
|
Enable/Disable cursorline. Default is true, cursorline will be highlighted in
|
|
|
|
|
normal mode.To disable this feature:
|
|
|
|
|
>
|
|
|
|
|
enable_cursorline = false
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_DEBUG *SpaceVim-options-enable_debug*
|
|
|
|
|
|
|
|
|
|
Enable/Disable debug mode for SpaceVim. Default is false.
|
|
|
|
|
>
|
|
|
|
|
enable_debug = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_GOOGLESUGGEST *SpaceVim-options-enable_googlesuggest*
|
|
|
|
|
|
|
|
|
|
Enable/Disable Google suggestions for neocomplete. Default is false.
|
|
|
|
|
>
|
|
|
|
|
enable_googlesuggest = false
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_GUICOLORS *SpaceVim-options-enable_guicolors*
|
|
|
|
|
|
|
|
|
|
Enable true color support in terminal. Default is false.
|
|
|
|
|
>
|
|
|
|
|
enable_guicolors = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_KEY_FREQUENCY *SpaceVim-options-enable_key_frequency*
|
|
|
|
|
|
|
|
|
|
Enable/Disable key frequency catching of SpaceVim. default value is 0. to
|
|
|
|
|
enable it:
|
|
|
|
|
>
|
|
|
|
|
enable_key_frequency = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_PROJECTS_CACHE *SpaceVim-options-enable_projects_cache*
|
|
|
|
|
|
|
|
|
|
Enable/Disable cross session projects cache. Enabled by default.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_STATUSLINE_BFPATH *SpaceVim-options-enable_statusline_bfpath*
|
|
|
|
|
|
|
|
|
|
Enable/Disable showing full path of current buffer on statusline, disabled by
|
|
|
|
|
default, to enable this feature:
|
|
|
|
|
>
|
|
|
|
|
enable_statusline_bfpath = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_STATUSLINE_MODE *SpaceVim-options-enable_statusline_mode*
|
|
|
|
|
|
|
|
|
|
Enable/Disable display mode. Default is 0, mode will be displayed in
|
|
|
|
|
statusline. To enable this feature:
|
|
|
|
|
>
|
|
|
|
|
enable_statusline_mode = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_STATUSLINE_TAG *SpaceVim-options-enable_statusline_tag*
|
|
|
|
|
|
|
|
|
|
Enable/Disable showing current tag on statusline
|
|
|
|
|
>
|
|
|
|
|
enable_statusline_tag = false
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_TABLINE_FT_ICON *SpaceVim-options-enable_tabline_ft_icon*
|
|
|
|
|
|
|
|
|
|
Enable/Disable tabline filetype icon. default is false. To enable this
|
|
|
|
|
feature:
|
|
|
|
|
>
|
|
|
|
|
enable_tabline_ft_icon = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_VIMFILER_WELCOME *SpaceVim-options-enable_vimfiler_welcome*
|
|
|
|
|
|
|
|
|
|
Enable/Disable vimfiler in the welcome windows. Default is true. This will
|
|
|
|
|
cause vim to start up slowly if there are too many files in the current
|
|
|
|
|
directory.
|
|
|
|
|
>
|
|
|
|
|
enable_vimfiler_welcome = false
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ENABLE_YCM *SpaceVim-options-enable_ycm*
|
|
|
|
|
|
|
|
|
|
Enable/Disable YouCompleteMe. Default is false.
|
|
|
|
|
>
|
|
|
|
|
enable_ycm = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ERROR_SYMBOL *SpaceVim-options-error_symbol*
|
|
|
|
|
|
|
|
|
|
Set the error symbol for SpaceVim's syntax maker. Default is '✖'.
|
|
|
|
|
>
|
|
|
|
|
error_symbol = "+"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
ESCAPE_KEY_BINDING *SpaceVim-options-escape_key_binding*
|
|
|
|
|
|
|
|
|
|
Set the key binding for switch to normal mode in insert mode. Default is `jk`,
|
|
|
|
|
to disable this key binding, set this option to empty string.
|
|
|
|
|
>
|
|
|
|
|
escape_key_binding = 'jk'
|
|
|
|
|
<
|
|
|
|
|
|
2021-05-01 22:47:19 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
FILE_SEARCHING_TOOLS *SpaceVim-options-file_searching_tools*
|
|
|
|
|
|
|
|
|
|
Set the default file searching tool used by `SPC f /`, by default it is `[]`.
|
|
|
|
|
The first item in this list is the name of the tool, the second one is the
|
|
|
|
|
default command. for example:
|
|
|
|
|
>
|
|
|
|
|
file_searching_tools = ['find', 'find -not -iwholename "*.git*" ']
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
FILEMANAGER *SpaceVim-options-filemanager*
|
|
|
|
|
|
2021-09-12 23:06:37 +08:00
|
|
|
|
The default file manager of SpaceVim. Default is 'nerdtree'. you can also use
|
|
|
|
|
defx or vimfiler
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
FILETREE_DIRECTION *SpaceVim-options-filetree_direction*
|
|
|
|
|
|
|
|
|
|
Config the direction of file tree. Default is 'right'. you can also set to
|
|
|
|
|
'left'.
|
|
|
|
|
|
|
|
|
|
NOTE: if it is 'left', the tagbar will be move to right.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
GUIFONT *SpaceVim-options-guifont*
|
|
|
|
|
|
|
|
|
|
Set the guifont of SpaceVim. Default is empty.
|
|
|
|
|
>
|
|
|
|
|
guifont = "SauceCodePro Nerd Font Mono:h11"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
HOME_FILES_NUMBER *SpaceVim-options-home_files_number*
|
|
|
|
|
|
|
|
|
|
Change the list number of files for SpaceVim home. Default is 6.
|
|
|
|
|
>
|
|
|
|
|
home_files_number = 6
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
INFO_SYMBOL *SpaceVim-options-info_symbol*
|
|
|
|
|
|
|
|
|
|
Set the information symbol for SpaceVim's syntax maker. Default is '🛈'.
|
|
|
|
|
>
|
|
|
|
|
info_symbol = 'i'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
KEEP_SERVER_ALIVE *SpaceVim-options-keep_server_alive*
|
|
|
|
|
|
|
|
|
|
Option for keep the spacevim server ailive
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
LANGUAGE *SpaceVim-options-language*
|
|
|
|
|
|
|
|
|
|
Set the message language of vim. Default is 'en_US.UTF-8'.
|
|
|
|
|
>
|
|
|
|
|
language = 'en_CA.utf8'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
LINT_ENGINE *SpaceVim-options-lint_engine*
|
|
|
|
|
|
|
|
|
|
Set the lint engine used in checkers layer, the default engine is neomake, if
|
|
|
|
|
you want to use ale, use:
|
|
|
|
|
>
|
|
|
|
|
lint_engine = 'ale'
|
|
|
|
|
<
|
|
|
|
|
NOTE: the `enable_neomake` and `enable_ale` option has been deprecated.
|
|
|
|
|
*spacevim-options-enable_naomake* *spacevim-options-enable_ale*
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
LINT_ON_THE_FLY *SpaceVim-options-lint_on_the_fly*
|
|
|
|
|
|
|
|
|
|
Enable/Disable lint on the fly feature of SpaceVim's maker. Default is true.
|
|
|
|
|
>
|
|
|
|
|
lint_on_the_fly = false
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
MAX_COLUMN *SpaceVim-options-max_column*
|
|
|
|
|
|
|
|
|
|
Change the max number of columns for SpaceVim. Default is 120.
|
|
|
|
|
>
|
|
|
|
|
max_column = 120
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
PLUGIN_BUNDLE_DIR *SpaceVim-options-plugin_bundle_dir*
|
|
|
|
|
|
|
|
|
|
Set the cache directory of plugins. Default is `$data_dir/vimfiles`.
|
|
|
|
|
>
|
|
|
|
|
plugin_bundle_dir = "~/.cache/vimplugs"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
PLUGIN_MANAGER_PROCESSES *SpaceVim-options-plugin_manager_processes*
|
|
|
|
|
|
|
|
|
|
Set the max process of SpaceVim plugin manager
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-25 21:00:22 +08:00
|
|
|
|
PROJECT_AUTO_ROOT *SpaceVim-options-project_auto_root*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
Enable/Disable project root detection. By default, SpaceVim will change the
|
|
|
|
|
directory to the project root directory based on `project_rooter_patterns`
|
|
|
|
|
option. To disable this feature:
|
|
|
|
|
>
|
|
|
|
|
[options]
|
2021-09-25 21:00:22 +08:00
|
|
|
|
project_auto_root = false
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
2021-09-25 21:00:22 +08:00
|
|
|
|
NOTE: *g:spacevim_project_rooter_automatically* and
|
|
|
|
|
*SpaceVim-options-project_rooter_automatically* are deprecated.
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
PROJECT_ROOTER_OUTERMOST *SpaceVim-options-project_rooter_outermost*
|
|
|
|
|
|
|
|
|
|
Enable/Disable finding outermost directory for project root detection. By
|
|
|
|
|
default SpaceVim will find the outermost directory based on
|
|
|
|
|
`project_rooter_patterns`. To find nearest directory, you need to disable this
|
|
|
|
|
option:
|
|
|
|
|
>
|
|
|
|
|
[options]
|
|
|
|
|
project_rooter_outermost = false
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
PROJECT_ROOTER_PATTERNS *SpaceVim-options-project_rooter_patterns*
|
|
|
|
|
|
|
|
|
|
Set the project root patterns, SpaceVim determines the root directory of the
|
|
|
|
|
project based on this option. By default it is:
|
|
|
|
|
>
|
|
|
|
|
['.git/', '_darcs/', '.hg/', '.bzr/', '.svn/']
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
PROJECTS_CACHE_NUM *SpaceVim-options-projects_cache_num*
|
|
|
|
|
|
|
|
|
|
Setting the numbers of cached projects, by default it is 20.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
REALTIME_LEADER_GUIDE *SpaceVim-options-realtime_leader_guide*
|
|
|
|
|
|
|
|
|
|
Enable/Disable realtime leader guide. Default is true. to disable it:
|
|
|
|
|
>
|
|
|
|
|
realtime_leader_guide = false
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
RELATIVENUMBER *SpaceVim-options-relativenumber*
|
|
|
|
|
|
|
|
|
|
Enable/Disable relativenumber, by default it is enabled.
|
|
|
|
|
>
|
|
|
|
|
relativenumber = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
RETRY_CNT *SpaceVim-options-retry_cnt*
|
|
|
|
|
|
|
|
|
|
Set the number of retries for SpaceVim Update when failed. Default is 3. Set
|
|
|
|
|
to 0 to disable this feature, or you can set to another number.
|
|
|
|
|
>
|
|
|
|
|
update_retry_cnt = 3
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
SEARCH_TOOLS *SpaceVim-options-search_tools*
|
|
|
|
|
|
|
|
|
|
Default search tools supported by flygrep. The default order is ['rg', 'ag',
|
|
|
|
|
'pt', 'ack', 'grep', 'findstr', 'git'] The `git` command means using
|
|
|
|
|
`git-grep`. If you prefer to use `git-grep` by default. You can change this
|
|
|
|
|
option to:
|
|
|
|
|
>
|
|
|
|
|
[options]
|
|
|
|
|
search_tools = ['git', 'rg', 'ag']
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
SIDEBAR_WIDTH *SpaceVim-options-sidebar_width*
|
|
|
|
|
|
|
|
|
|
Set the width of the SpaceVim sidebar. Default is 30. This value will be used
|
2021-09-19 17:32:31 +08:00
|
|
|
|
by tagbar and filetree.
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
SNIPPET_ENGINE *SpaceVim-options-snippet_engine*
|
|
|
|
|
|
|
|
|
|
Set the snippet engine of SpaceVim, default is neosnippet. to enable
|
|
|
|
|
ultisnips:
|
|
|
|
|
>
|
|
|
|
|
snippet_engine = "ultisnips"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
STATUSLINE_ISEPARATOR *SpaceVim-options-statusline_iseparator*
|
|
|
|
|
|
|
|
|
|
Set the statusline separators of statusline in inactive windows, default is
|
|
|
|
|
'nil'
|
|
|
|
|
>
|
|
|
|
|
Separators options:
|
|
|
|
|
1. arrow
|
|
|
|
|
2. curve
|
|
|
|
|
3. slant
|
|
|
|
|
4. nil
|
|
|
|
|
5. fire
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
See more details in: http://spacevim.org/documentation/#statusline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
STATUSLINE_LEFT_SECTIONS *SpaceVim-options-statusline_left_sections*
|
|
|
|
|
|
|
|
|
|
Define the left section of statusline in active windows. By default:
|
|
|
|
|
>
|
|
|
|
|
statusline_left_sections = [
|
|
|
|
|
'winnr',
|
|
|
|
|
'filename',
|
|
|
|
|
'major mode',
|
|
|
|
|
'minor mode lighters',
|
|
|
|
|
'version control info'
|
|
|
|
|
]
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
STATUSLINE_SEPARATOR *SpaceVim-options-statusline_separator*
|
|
|
|
|
|
|
|
|
|
Set the statusline separators of statusline, default is 'nil'
|
|
|
|
|
>
|
|
|
|
|
Separators options:
|
|
|
|
|
1. arrow
|
|
|
|
|
2. curve
|
|
|
|
|
3. slant
|
|
|
|
|
4. nil
|
|
|
|
|
5. fire
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
See more details in: http://spacevim.org/documentation/#statusline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-25 21:09:11 +08:00
|
|
|
|
STATUSLINE_UNICODE *SpaceVim-options-statusline_unicode*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
Enable/Disable unicode symbols in statusline, includes the mode icons and
|
|
|
|
|
fileformat icons. This option is enabled by default, to disable it:
|
|
|
|
|
>
|
2021-09-25 21:09:11 +08:00
|
|
|
|
statusline_unicode = false
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
TERMINAL_CURSOR_SHAPE *SpaceVim-options-terminal_cursor_shape*
|
|
|
|
|
|
|
|
|
|
Set the SpaceVim cursor shape in the terminal.
|
|
|
|
|
>
|
|
|
|
|
0 : to prevent Nvim from changing the cursor shape.
|
|
|
|
|
1 : to enable non-blinking mode-sensitive cursor.
|
|
|
|
|
2 : to enable blinking mode-sensitive cursor (default).
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
<
|
|
|
|
|
Host terminal must support the DECSCUSR CSI escape sequence. Depending on the
|
|
|
|
|
terminal emulator, using this option with nvim under tmux might require adding
|
|
|
|
|
the following to ~/.tmux.conf:
|
|
|
|
|
>
|
|
|
|
|
set -ga terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
VIM_HELP_LANGUAGE *SpaceVim-options-vim_help_language*
|
|
|
|
|
|
|
|
|
|
Set the help language of vim. Default is 'en'. You can change it to Chinese.
|
|
|
|
|
>
|
|
|
|
|
vim_help_language = "cn"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
VIMCOMPATIBLE *SpaceVim-options-vimcompatible*
|
|
|
|
|
|
|
|
|
|
Enable/Disable vimcompatible mode, by default it is false. to enable
|
|
|
|
|
vimcompatible mode, just add:
|
|
|
|
|
>
|
|
|
|
|
vimcompatible = true
|
|
|
|
|
<
|
|
|
|
|
In vimcompatible mode all vim origin key bindings will not be changed.
|
|
|
|
|
|
|
|
|
|
Includes:
|
|
|
|
|
>
|
|
|
|
|
q smart quit windows
|
|
|
|
|
s windows key bindings leader
|
|
|
|
|
, language specific leader
|
|
|
|
|
<C-a> move cursor to beginning in command line mode
|
|
|
|
|
<C-b> move cursor to left in command line mode
|
|
|
|
|
<C-f> move cursor to right in command line mode
|
|
|
|
|
<C-x> switch buffer
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
WARNING_SYMBOL *SpaceVim-options-warning_symbol*
|
|
|
|
|
|
|
|
|
|
Set the warning symbol for SpaceVim's syntax maker. Default is '⚠'.
|
|
|
|
|
>
|
|
|
|
|
warning_symbol = '!'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
WINDOWS_INDEX_TYPE *SpaceVim-options-windows_index_type*
|
|
|
|
|
|
|
|
|
|
Set SpaceVim windows index type, default is 3.
|
|
|
|
|
>
|
|
|
|
|
# types:
|
|
|
|
|
# 0: 1 ➛ ➊
|
|
|
|
|
# 1: 1 ➛ ➀
|
|
|
|
|
# 2: 1 ➛ ⓵
|
|
|
|
|
# 3: 1 ➛ 1
|
|
|
|
|
windows_index_type = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
WINDOWS_LEADER *SpaceVim-options-windows_leader*
|
|
|
|
|
|
|
|
|
|
Window functions leader for SpaceVim. Default is `s`. Set to empty to disable
|
|
|
|
|
this feature, or you can set to another char.
|
|
|
|
|
>
|
|
|
|
|
windows_leader = ""
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
WINDOWS_SMARTCLOSE *SpaceVim-options-windows_smartclose*
|
|
|
|
|
|
|
|
|
|
Set the default key for smart close windows, default is `q`. to disable this
|
|
|
|
|
feature, just set it to empty string:
|
|
|
|
|
>
|
|
|
|
|
windows_smartclose = ""
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
CONFIGURATION *SpaceVim-config*
|
|
|
|
|
|
|
|
|
|
If you still want to use `~/.SpaceVim.d/init.vim` as configuration file,
|
|
|
|
|
please take a look at the following options.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*g:spacevim_version*
|
|
|
|
|
Version of SpaceVim , this value can not be changed.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_default_indent*
|
|
|
|
|
Change the default indentation of SpaceVim. Default is 2.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_default_indent = 2
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_expand_tab*
|
|
|
|
|
In Insert mode: Use the appropriate number of spaces to insert a <Tab>
|
|
|
|
|
|
|
|
|
|
*g:spacevim_relativenumber*
|
|
|
|
|
Enable/Disable relativenumber in current windows, by default it is enabled.
|
|
|
|
|
|
2021-06-21 22:49:20 +08:00
|
|
|
|
*g:spacevim_wrap_line*
|
|
|
|
|
Enable/Disable line wrap of vim
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
*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.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_max_column = 120
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_default_custom_leader*
|
|
|
|
|
Change the default custom leader of SpaceVim. Default is <Space>.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_default_custom_leader = '<Space>'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_home_files_number*
|
|
|
|
|
Change the list number of files for SpaceVim home. Default is 6.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_home_files_number = 6
|
|
|
|
|
<
|
|
|
|
|
|
2021-10-01 15:25:42 +08:00
|
|
|
|
*g:spacevim_code_runner_focus*
|
|
|
|
|
enable/disable code runner window focus mode, by default this option is 0, to
|
|
|
|
|
enable this mode, set this option to 1.
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
*g:spacevim_enable_guicolors*
|
|
|
|
|
Enable true color support in terminal. Default is 0.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_enable_guicolors = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_escape_key_binding*
|
|
|
|
|
Set the key binding for switch to normal mode in insert mode. Default is `jk`,
|
|
|
|
|
to disable this key binding, set this option to empty string.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_escape_key_binding = 'jk'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_googlesuggest*
|
|
|
|
|
Enable/Disable Google suggestions for neocomplete. Default is 0.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_enable_googlesuggest = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_windows_leader*
|
|
|
|
|
Window functions leader for SpaceVim. Default is `s`. Set to empty to disable
|
|
|
|
|
this feature, or you can set to another char.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_windows_leader = ''
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_data_dir*
|
|
|
|
|
Set the cache directory of SpaceVim. Default is `$XDG_CACHE_HOME` or if not
|
|
|
|
|
set `~/.cache¸.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_data_dir = '~/.cache'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_plugin_bundle_dir*
|
|
|
|
|
Set the cache directory of plugins. Default is `$data_dir/vimfiles`.
|
|
|
|
|
>
|
2021-08-18 20:54:54 +08:00
|
|
|
|
let g:spacevim_plugin_bundle_dir = g:spacevim_data_dir.'vimplugs'
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_realtime_leader_guide*
|
|
|
|
|
Enable/Disable realtime leader guide. Default is 1. to disable it:
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_realtime_leader_guide = 0
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_key_frequency*
|
|
|
|
|
Enable/Disable key frequency catching of SpaceVim. default value is 0. to
|
|
|
|
|
enable it:
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_enable_key_frequency = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_autocomplete_method*
|
|
|
|
|
Set the autocomplete engine of spacevim, the default logic is:
|
|
|
|
|
>
|
|
|
|
|
if has('python3')
|
|
|
|
|
let g:spacevim_autocomplete_method = 'deoplete'
|
|
|
|
|
elseif has('lua')
|
|
|
|
|
let g:spacevim_autocomplete_method = 'neocomplete'
|
|
|
|
|
elseif has('python')
|
|
|
|
|
let g:spacevim_autocomplete_method = 'completor'
|
|
|
|
|
elseif has('timers')
|
|
|
|
|
let g:spacevim_autocomplete_method = 'asyncomplete'
|
|
|
|
|
else
|
|
|
|
|
let g:spacevim_autocomplete_method = 'neocomplcache'
|
|
|
|
|
endif
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
and you can alse set this option to coc, then coc.nvim will be used.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_lint_engine*
|
|
|
|
|
Set the lint engine used in checkers layer, the default engine is neomake, if
|
|
|
|
|
you want to use ale, use:
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_lint_engine = 'ale'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_guifont*
|
|
|
|
|
Set the guifont of SpaceVim. Default is empty.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_guifont = "SauceCodePro Nerd Font Mono:h11"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_ycm*
|
|
|
|
|
Enable/Disable YouCompleteMe. Default is 0.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_enable_ycm = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_sidebar_width*
|
|
|
|
|
Set the width of the SpaceVim sidebar. Default is 30. This value will be used
|
2021-09-19 17:32:31 +08:00
|
|
|
|
by tagbar and filetree.
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
*g:spacevim_snippet_engine*
|
|
|
|
|
Set the snippet engine of SpaceVim, default is neosnippet. to enable
|
|
|
|
|
ultisnips:
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_snippet_engine = "ultisnips"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_cursorline*
|
|
|
|
|
Enable/Disable cursorline. Default is 1, cursorline will be highlighted in
|
|
|
|
|
normal mode.To disable this feature:
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_enable_cursorline = 0
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_statusline_separator*
|
|
|
|
|
Set the statusline separators of statusline, default is 'nil'
|
|
|
|
|
>
|
|
|
|
|
Separators options:
|
|
|
|
|
1. arrow
|
|
|
|
|
2. curve
|
|
|
|
|
3. slant
|
|
|
|
|
4. nil
|
|
|
|
|
5. fire
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
See more details in: http://spacevim.org/documentation/#statusline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*g:spacevim_statusline_iseparator*
|
|
|
|
|
Set the statusline separators of statusline in inactive windows, default is
|
|
|
|
|
'nil'
|
|
|
|
|
>
|
|
|
|
|
Separators options:
|
|
|
|
|
1. arrow
|
|
|
|
|
2. curve
|
|
|
|
|
3. slant
|
|
|
|
|
4. nil
|
|
|
|
|
5. fire
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
See more details in: http://spacevim.org/documentation/#statusline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_statusline_bfpath*
|
|
|
|
|
Enable/Disable showing full path of current buffer on statusline, disabled by
|
|
|
|
|
default, to enable this feature:
|
|
|
|
|
>
|
|
|
|
|
enable_statusline_bfpath = true
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_statusline_tag*
|
|
|
|
|
Enable/Disable showing current tag on statusline
|
|
|
|
|
|
|
|
|
|
*g:spacevim_statusline_left_sections*
|
|
|
|
|
Define the left section of statusline in active windows. By default:
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_statusline_left_sections =
|
|
|
|
|
\ [
|
|
|
|
|
\ 'winnr',
|
|
|
|
|
\ 'filename',
|
|
|
|
|
\ 'major mode',
|
|
|
|
|
\ 'minor mode lighters',
|
|
|
|
|
\ 'version control info'
|
|
|
|
|
\ ]
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_statusline_right_sections*
|
|
|
|
|
Define the right section of statusline in active windows. By default:
|
|
|
|
|
>
|
|
|
|
|
g:spacevim_statusline_right_sections =
|
|
|
|
|
\ [
|
|
|
|
|
\ 'fileformat',
|
|
|
|
|
\ 'cursorpos',
|
|
|
|
|
\ 'percentage'
|
|
|
|
|
\ ]
|
|
|
|
|
<
|
|
|
|
|
|
2021-09-25 21:09:11 +08:00
|
|
|
|
*g:spacevim_statusline_unicode*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
Enable/Disable unicode symbols in statusline, includes the mode icons and
|
|
|
|
|
fileformat icons. This option is enabled by default, to disable it:
|
|
|
|
|
>
|
2021-09-25 21:09:11 +08:00
|
|
|
|
let g:spacevim_statusline_unicode = 0
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_language_specific_leader*
|
|
|
|
|
Enable/Disable language specific leader, by default you can use `,` ket
|
|
|
|
|
instead of `SPC` `l`.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_statusline_mode*
|
|
|
|
|
Enable/Disable display mode. Default is 0, mode will be displayed in
|
|
|
|
|
statusline. To enable this feature:
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_enable_statusline_mode = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_custom_color_palette*
|
|
|
|
|
Set the statusline/tabline palette of color, default values depends on the
|
|
|
|
|
theme
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_custom_color_palette = [
|
|
|
|
|
\ ['#282828', '#b8bb26', 246, 235],
|
|
|
|
|
\ ['#a89984', '#504945', 239, 246],
|
|
|
|
|
\ ['#a89984', '#3c3836', 237, 246],
|
|
|
|
|
\ ['#665c54', 241],
|
|
|
|
|
\ ['#282828', '#83a598', 235, 109],
|
|
|
|
|
\ ['#282828', '#fe8019', 235, 208],
|
|
|
|
|
\ ['#282828', '#8ec07c', 235, 108],
|
|
|
|
|
\ ['#282828', '#689d6a', 235, 72],
|
|
|
|
|
\ ['#282828', '#8f3f71', 235, 132],
|
|
|
|
|
\ ]
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_cursorcolumn*
|
|
|
|
|
Enable/Disable cursorcolumn. Default is 0, cursorcolumn will be highlighted in
|
|
|
|
|
normal mode. To enable this feature:
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_enable_cursorcolumn = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_error_symbol*
|
|
|
|
|
Set the error symbol for SpaceVim's syntax maker. Default is '✖'.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_error_symbol = '+'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_warning_symbol*
|
|
|
|
|
Set the warning symbol for SpaceVim's syntax maker. Default is '⚠'.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_warning_symbol = '!'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_info_symbol*
|
|
|
|
|
Set the information symbol for SpaceVim's syntax maker. Default is '🛈'.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_info_symbol = 'i'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_terminal_cursor_shape*
|
|
|
|
|
Set the SpaceVim cursor shape in the terminal.
|
|
|
|
|
>
|
|
|
|
|
0 : to prevent Nvim from changing the cursor shape.
|
|
|
|
|
1 : to enable non-blinking mode-sensitive cursor.
|
|
|
|
|
2 : to enable blinking mode-sensitive cursor (default).
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
<
|
|
|
|
|
Host terminal must support the DECSCUSR CSI escape sequence. Depending on the
|
|
|
|
|
terminal emulator, using this option with nvim under tmux might require adding
|
|
|
|
|
the following to ~/.tmux.conf:
|
|
|
|
|
>
|
|
|
|
|
set -ga terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_vim_help_language*
|
|
|
|
|
Set the help language of vim. Default is 'en'. You can change it to Chinese.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_vim_help_language = 'cn'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_language*
|
|
|
|
|
Set the message language of vim. Default is 'en_US.UTF-8'.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_language = 'en_CA.utf8'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_keep_server_alive*
|
|
|
|
|
Option for keep the spacevim server ailive
|
|
|
|
|
|
|
|
|
|
*g:spacevim_colorscheme*
|
|
|
|
|
The colorscheme of SpaceVim. Default is 'gruvbox'.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_colorscheme_bg*
|
|
|
|
|
The background of colorscheme. Default is 'dark'.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_colorscheme_default*
|
|
|
|
|
The default colorscheme of SpaceVim. Default is 'desert'. This colorscheme
|
|
|
|
|
will be used if the colorscheme set by `g:spacevim_colorscheme` is not
|
|
|
|
|
installed.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_colorscheme_default = 'other_color'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_filemanager*
|
2021-09-12 23:06:37 +08:00
|
|
|
|
The default file manager of SpaceVim. Default is 'nerdtree'. you can also use
|
|
|
|
|
defx or vimfiler
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
*g:spacevim_filetree_direction*
|
|
|
|
|
Config the direction of file tree. Default is 'right'. you can also set to
|
|
|
|
|
'left'.
|
|
|
|
|
|
|
|
|
|
NOTE: if it is 'left', the tagbar will be move to right.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_plugin_manager_processes*
|
|
|
|
|
Set the max process of SpaceVim plugin manager
|
|
|
|
|
|
|
|
|
|
*g:spacevim_checkinstall*
|
|
|
|
|
Enable/Disable checkinstall on SpaceVim startup. Default is 1.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_checkinstall = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_vimcompatible*
|
|
|
|
|
Enable/Disable vimcompatible mode, by default it is false. to enable
|
|
|
|
|
vimcompatible mode, just add:
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_vimcompatible = 1
|
|
|
|
|
<
|
|
|
|
|
In vimcompatible mode all vim origin key bindings will not be changed.
|
|
|
|
|
|
|
|
|
|
Includes:
|
|
|
|
|
>
|
|
|
|
|
q smart quit windows
|
|
|
|
|
s windows key bindings leader
|
|
|
|
|
, language specific leader
|
|
|
|
|
<C-a> move cursor to beginning in command line mode
|
|
|
|
|
<C-b> move cursor to left in command line mode
|
|
|
|
|
<C-f> move cursor to right in command line mode
|
|
|
|
|
<C-x> switch buffer
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_debug*
|
|
|
|
|
Enable/Disable debug mode for SpaceVim. Default is 0.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_enable_debug = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_auto_disable_touchpad*
|
|
|
|
|
Auto disable touchpad when switch to insert mode or focuslost in neovim.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_debug_level*
|
|
|
|
|
Set the debug level of SpaceVim. Default is 1. see
|
|
|
|
|
|SpaceVim#logger#setLevel()|
|
|
|
|
|
|
|
|
|
|
*g:spacevim_buffer_index_type*
|
|
|
|
|
Set SpaceVim buffer index type, default is 4.
|
|
|
|
|
>
|
|
|
|
|
" types:
|
|
|
|
|
" 0: 1 ➛ ➊
|
|
|
|
|
" 1: 1 ➛ ➀
|
|
|
|
|
" 2: 1 ➛ ⓵
|
|
|
|
|
" 3: 1 ➛ ¹
|
|
|
|
|
" 4: 1 ➛ 1
|
|
|
|
|
let g:spacevim_buffer_index_type = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_windows_index_type*
|
|
|
|
|
Set SpaceVim windows index type, default is 3.
|
|
|
|
|
>
|
|
|
|
|
" types:
|
|
|
|
|
" 0: 1 ➛ ➊
|
|
|
|
|
" 1: 1 ➛ ➀
|
|
|
|
|
" 2: 1 ➛ ⓵
|
|
|
|
|
" 3: 1 ➛ 1
|
|
|
|
|
let g:spacevim_windows_index_type = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_tabline_ft_icon*
|
|
|
|
|
Enable/Disable tabline filetype icon. default is 0.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_os_fileformat_icon*
|
|
|
|
|
Enable/Disable os fileformat icon. default is 0.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_github_username*
|
|
|
|
|
Set the github username, It will be used for getting your starred repos, and
|
|
|
|
|
fuzzy find the repo you want.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_windows_smartclose*
|
|
|
|
|
Set the default key for smart close windows, default is `q`.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_disabled_plugins*
|
|
|
|
|
Disable plugins by name.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_disabled_plugins = ['vim-foo', 'vim-bar']
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_custom_plugins*
|
|
|
|
|
Add custom plugins.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_custom_plugins = [
|
|
|
|
|
\ ['plasticboy/vim-markdown', 'on_ft' : 'markdown'],
|
|
|
|
|
\ ['wsdjeg/GitHub.vim'],
|
|
|
|
|
\ ]
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_filetype_icons*
|
|
|
|
|
change the default filetype icon for a specific filtype.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_filetype_icons['md'] = ''
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_force_global_config*
|
|
|
|
|
SpaceVim will load the global config after local config if set to 1. Default
|
|
|
|
|
is 0. If you have a local config, the global config will not be loaded.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_force_global_config = 1
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_powerline_fonts*
|
|
|
|
|
Enable/Disable powerline symbols. Default is 1.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_lint_on_save*
|
|
|
|
|
Enable/Disable lint on save feature of SpaceVim's maker. Default is 1.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_lint_on_save = 0
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_search_tools*
|
|
|
|
|
Default search tools supported by flygrep. The default order is ['rg', 'ag',
|
|
|
|
|
'pt', 'ack', 'grep', 'findstr', 'git']
|
|
|
|
|
|
|
|
|
|
*g:spacevim_project_rooter_patterns*
|
|
|
|
|
Set the project root patterns, SpaceVim determines the root directory of the
|
|
|
|
|
project based on this option. By default it is:
|
|
|
|
|
>
|
|
|
|
|
['.git/', '_darcs/', '.hg/', '.bzr/', '.svn/']
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_projects_cache*
|
|
|
|
|
Enable/Disable cross session projects cache. Enabled by default.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_projects_cache_num*
|
|
|
|
|
Setting the numbers of cached projects, by default it is 20.
|
|
|
|
|
|
2021-09-25 21:00:22 +08:00
|
|
|
|
*g:spacevim_project_auto_root*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
Enable/Disable changing directory automatically. Enabled by default.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_project_rooter_outermost*
|
|
|
|
|
Enable/Disable finding outermost directory for project root detection. By
|
|
|
|
|
default SpaceVim will find the outermost directory based on
|
|
|
|
|
`project_rooter_patterns`. To find nearest directory, you need to disable this
|
|
|
|
|
option:
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_project_rooter_outermost = 0
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_commandline_prompt*
|
|
|
|
|
Config the command line prompt for flygrep and denite etc.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_todo_labels*
|
|
|
|
|
Option for setting todo labels in current project.
|
|
|
|
|
|
|
|
|
|
*g:spacevim_lint_on_the_fly*
|
|
|
|
|
Enable/Disable lint on the fly feature of SpaceVim's maker. Default is 0.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_lint_on_the_fly = 0
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_update_retry_cnt*
|
|
|
|
|
Set the number of retries for SpaceVim Update when failed. Default is 3. Set
|
|
|
|
|
to 0 to disable this feature, or you can set to another number.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_update_retry_cnt = 3
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_enable_vimfiler_welcome*
|
|
|
|
|
Enable/Disable vimfiler in the welcome windows. Default is 1. This will cause
|
|
|
|
|
vim to start up slowly if there are too many files in the current directory.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_enable_vimfiler_welcome = 0
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
*g:spacevim_autocomplete_parens*
|
|
|
|
|
Enable/Disable autocompletion of parentheses, default is 1 (enabled).
|
|
|
|
|
|
|
|
|
|
*g:spacevim_hosts_url*
|
|
|
|
|
The host file url. This option is for Chinese users who can not use Google and
|
|
|
|
|
Twitter.
|
|
|
|
|
|
|
|
|
|
*g:github_issues_no_omni*
|
|
|
|
|
jaxbot/github-issues.vim {{{ Disable completion by github-issues.vim. Because
|
|
|
|
|
github-complete.vim provides more powerful completion.
|
|
|
|
|
|
|
|
|
|
*g:github_dashboard*
|
|
|
|
|
junegunn/vim-github-dashboard {{{
|
|
|
|
|
|
|
|
|
|
*g:dash_map*
|
|
|
|
|
rizzatti/dash.vim {{{ Allows configuration of mappings between Vim filetypes
|
|
|
|
|
and Dash's docsets.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
COMMANDS *SpaceVim-commands*
|
|
|
|
|
|
|
|
|
|
:SPLayer {layers} *:SPLayer*
|
|
|
|
|
Load exist layer, {layers} can be a string of a layer name, or a list of
|
|
|
|
|
layer names.
|
|
|
|
|
|
|
|
|
|
:SPVersion *:SPVersion*
|
|
|
|
|
Print the version of SpaceVim. The following lines contain information
|
|
|
|
|
about which features were enabled. When there is a preceding '+', the
|
|
|
|
|
feature is included, when there is a '-' it is excluded.
|
|
|
|
|
|
|
|
|
|
:SPSet {opt} [value] *:SPSet*
|
|
|
|
|
Set or check SpaceVim option. {opt} should be the option name of spacevim,
|
|
|
|
|
This command will use [value] as the value of option name.
|
|
|
|
|
|
|
|
|
|
:SPDebugInfo[!] *:SPDebugInfo*
|
|
|
|
|
print the debug information of spacevim, [!] forces the output into a new
|
|
|
|
|
buffer.
|
|
|
|
|
|
|
|
|
|
:SPRuntimeLog *:SPRuntimeLog*
|
|
|
|
|
view runtime log
|
|
|
|
|
|
|
|
|
|
:SPConfig *:SPConfig*
|
|
|
|
|
edit custom config file of SpaceVim, by default this command will open
|
|
|
|
|
global custom configuration file, '-l' option will load local custom
|
|
|
|
|
configuration file.
|
|
|
|
|
>
|
|
|
|
|
:SPConfig -g
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
:SPUpdate *:SPUpdate*
|
|
|
|
|
Command for update plugin, support completion of plugin name. If run without
|
|
|
|
|
argv, All the plugin will be updated.
|
|
|
|
|
>
|
|
|
|
|
:SPUpdate vim-airline
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
:SPReinstall *:SPReinstall*
|
|
|
|
|
Command for reinstall plugin, support completion of plugin name.
|
|
|
|
|
|
|
|
|
|
:SPInstall *:SPInstall*
|
|
|
|
|
Command for install plugins.
|
|
|
|
|
|
|
|
|
|
:A[!] {type} *:A*
|
|
|
|
|
Switch to alternate file based on {type}.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
FUNCTIONS *SpaceVim-functions*
|
|
|
|
|
|
|
|
|
|
SpaceVim#api#import({name}) *SpaceVim#api#import()*
|
|
|
|
|
Import API base the given {name}, and return the API object. for all
|
|
|
|
|
available APIs please check |spacevim-api|
|
|
|
|
|
|
2021-09-19 17:54:17 +08:00
|
|
|
|
SpaceVim#custom#SPC({m}, {keys}, {cmd}, {desc}, {is_cmd})
|
|
|
|
|
*SpaceVim#custom#SPC()*
|
|
|
|
|
The first parameter sets the type of shortcut key, which can be `nnoremap`
|
|
|
|
|
or `nmap`, the second parameter is a list of keys, and the third parameter
|
|
|
|
|
is an ex command or key binding, depending on whether the last parameter is
|
|
|
|
|
true. The fourth parameter is a short description of this custom key
|
|
|
|
|
binding.
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
SpaceVim#layers#load({layer}) *SpaceVim#layers#load()*
|
|
|
|
|
Load the {layer} you want. For all the layers SpaceVim supports, see
|
|
|
|
|
|SpaceVim-layers|. the second argv is the layer variable.
|
|
|
|
|
|
|
|
|
|
SpaceVim#logger#setLevel({level}) *SpaceVim#logger#setLevel()*
|
|
|
|
|
Set debug level of SpaceVim. Default is 1.
|
|
|
|
|
|
|
|
|
|
1 : log all messages
|
|
|
|
|
|
|
|
|
|
2 : log warning and error messages
|
|
|
|
|
|
|
|
|
|
3 : log error messages only
|
|
|
|
|
|
|
|
|
|
SpaceVim#logger#setOutput({file}) *SpaceVim#logger#setOutput()*
|
|
|
|
|
Set the log output file of SpaceVim. Default is empty.
|
|
|
|
|
|
|
|
|
|
SpaceVim#plugins#iedit#start() *SpaceVim#plugins#iedit#start()*
|
|
|
|
|
public API for iedit mode
|
|
|
|
|
>
|
|
|
|
|
KEY:
|
|
|
|
|
expr match expression
|
|
|
|
|
word match word
|
|
|
|
|
stack cursor pos stack
|
|
|
|
|
<
|
|
|
|
|
if only argv 1 is given, use selected word as pattern
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
LAYERS *SpaceVim-layers*
|
|
|
|
|
|
|
|
|
|
SpaceVim support such layers:
|
|
|
|
|
|
|
|
|
|
languages:
|
|
|
|
|
|
|
|
|
|
https://www.scriptol.com/programming/list-programming-languages.php#query-lang
|
|
|
|
|
uage
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
AUTOCOMPLETE *SpaceVim-layers-autocomplete*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
CODE COMPLETION
|
|
|
|
|
SpaceVim uses neocomplete as the default completion engine if vim has lua
|
|
|
|
|
support. If there is no lua support, neocomplcache will be used for the
|
|
|
|
|
completion engine. SpaceVim uses deoplete as the default completion engine for
|
|
|
|
|
neovim. Deoplete requires neovim to be compiled with python support. For more
|
|
|
|
|
information on python support, please read neovim's |provider-python|.
|
|
|
|
|
|
|
|
|
|
SpaceVim includes YouCompleteMe, but it is disabled by default. To enable ycm,
|
|
|
|
|
see |g:spacevim_enable_ycm|.
|
|
|
|
|
|
|
|
|
|
SNIPPET
|
|
|
|
|
SpaceVim use neosnippet as the default snippet engine. The default snippets
|
|
|
|
|
are provided by `Shougo/neosnippet-snippets`. For more information, please
|
|
|
|
|
read |neosnippet|. Neosnippet support custom snippets, and the default
|
|
|
|
|
snippets directory is `~/.SpaceVim/snippets/`. If
|
|
|
|
|
`g:spacevim_force_global_config = 1`, SpaceVim will not append
|
|
|
|
|
`./.SpaceVim/snippets` as default snippets directory.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
CHECKERS *SpaceVim-layers-checkers*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
2021-09-19 22:57:47 +08:00
|
|
|
|
The `checkers` layer provides syntax lint feature. The default lint engine is
|
|
|
|
|
|neomake|, this can be changed by `lint_engine` option:
|
|
|
|
|
>
|
|
|
|
|
[options]
|
|
|
|
|
lint_engine = 'ale'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
|
|
|
|
|
|
`lint_on_the_fly`: Syntax checking on the fly feature, disabled by default.
|
|
|
|
|
`lint_on_save`: Run syntax checking when saving a file.
|
|
|
|
|
`show_cursor_error`: Enable/Disable displaying error below current line.
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
COLORSCHEME *SpaceVim-layers-colorscheme*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
The ldefault colorscheme for SpaceVim is gruvbox. The colorscheme can be
|
|
|
|
|
changed with the `g:spacevim_colorscheme` option by adding the following line
|
|
|
|
|
to your `~/.SpaceVim/init.vim`.
|
|
|
|
|
>
|
|
|
|
|
let g:spacevim_colorscheme = 'solarized'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
The following colorschemes are include in SpaceVim. If the colorscheme you
|
|
|
|
|
want is not included in the list below, a PR is welcome.
|
|
|
|
|
|
|
|
|
|
Also, there's one thing which everyone should know and pay attention to. NOT
|
|
|
|
|
all of below colorschemes support spell check very well. For example, a
|
|
|
|
|
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.
|
|
|
|
|
|
2021-09-20 16:33:25 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
CORE *SpaceVim-layers-core*
|
2021-09-20 16:33:25 +08:00
|
|
|
|
|
|
|
|
|
The `core` layer of SpaceVim. This layer is enabled by default, and it
|
|
|
|
|
provides filetree, comment key bindings etc.
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
|
`filetree_show_hidden`: option for showing hidden file in filetree, disabled
|
|
|
|
|
by default.
|
|
|
|
|
`enable_smooth_scrolling`: enable/disabled smooth scrolling key bindings,
|
|
|
|
|
enabled by default.
|
|
|
|
|
`enable_filetree_gitstatus`: enable/disable git status column in filetree.
|
|
|
|
|
`enable_filetree_filetypeicon`: enable/disable filetype icons in filetree.
|
|
|
|
|
|
|
|
|
|
NOTE: the `enable_vimfiler_gitstatus` and `enable_filetree_gitstatus` option
|
|
|
|
|
has been deprecated. Use layer option instead.
|
|
|
|
|
*spacevim-options-enable_vimfiler_gitstatus*
|
|
|
|
|
*spacevim-options-enable_filetree_gitstatus*
|
|
|
|
|
*g:spacevim_enable_vimfiler_gitstatus* *g:spacevim_enable_filetree_gitstatus*
|
|
|
|
|
*g:spacevim_enable_vimfiler_filetypeicon*
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
CORE#STATUSLINE *SpaceVim-layers-core-statusline*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides default statusline for SpaceVim If you want to use
|
|
|
|
|
airline's statusline, just disable this layer
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
2021-04-04 16:16:31 +08:00
|
|
|
|
name = 'core#statusline'
|
2021-02-11 21:57:11 +08:00
|
|
|
|
enable = false
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
CORE#TABLINE *SpaceVim-layers-core-tabline*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
<
|
|
|
|
|
|
2021-09-20 23:14:28 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
CSCOPE *SpaceVim-layers-cscope*
|
|
|
|
|
|
|
|
|
|
`cscope` layer provides |cscope| integration for SpaceVim. To load this layer:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'cscope'
|
|
|
|
|
<
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
The layer option can be used when loading the `cscope` layer, for example:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'cscope'
|
|
|
|
|
auto_update = true
|
|
|
|
|
open_quickfix = 0
|
|
|
|
|
<
|
|
|
|
|
1. `auto_update`: Enable or disable automatic updating of the cscope
|
|
|
|
|
database.
|
|
|
|
|
2. `cscope_command`: set the command or path of `cscope` executable.
|
|
|
|
|
3. `open_location`: enable/disable open location list after searching.
|
|
|
|
|
4. `preload_path`: set the proload paths.
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
EXPRFOLD *SpaceVim-layers-exprfold*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
Fold code quickly according to expr.
|
|
|
|
|
|
|
|
|
|
Mappings:
|
|
|
|
|
>
|
|
|
|
|
Key Mode Function
|
|
|
|
|
----------------------------------------------------
|
|
|
|
|
ZB normal Open fold block template
|
|
|
|
|
ZF normal Fold block
|
|
|
|
|
ZC normal Fold block comment
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
FORMAT *SpaceVim-layers-format*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
format layer provides code formation for SpaceVim, the default formatting
|
|
|
|
|
plugin is |neoformat|.
|
|
|
|
|
OPTIONS
|
|
|
|
|
|
|
|
|
|
`format_on_save`: disabled by default.
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key binding Description
|
|
|
|
|
SPC b f format current buffer or selection lines
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-04-11 14:13:57 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
GIT *SpaceVim-layers-git*
|
2021-04-11 14:13:57 +08:00
|
|
|
|
|
|
|
|
|
`git` layer provides git integration for SpaceVim.
|
|
|
|
|
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
`git_plugin`: Set the background plugin used in `git` layer. The default value
|
|
|
|
|
is `git`, the following plugins are supported: `gina`, `fugitive` and `gita`.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'git'
|
|
|
|
|
git_plugin = 'git'
|
|
|
|
|
<
|
2021-09-28 23:02:09 +08:00
|
|
|
|
KEY BINDINGS
|
2021-04-11 14:13:57 +08:00
|
|
|
|
|
2021-09-28 23:02:09 +08:00
|
|
|
|
The following key bindings will be definded when the `git` layer is loaded.
|
|
|
|
|
>
|
|
|
|
|
Key Binding Description
|
|
|
|
|
SPC g s view git status
|
|
|
|
|
SPC g S stage current file
|
|
|
|
|
SPC g U unstage current file
|
|
|
|
|
SPC g c edit git commit
|
|
|
|
|
SPC g p git push
|
|
|
|
|
SPC g m git branch manager
|
|
|
|
|
SPC g d view git diff
|
|
|
|
|
SPC g A stage all files
|
|
|
|
|
SPC g b open git blame windows
|
|
|
|
|
SPC g h a stage current hunk
|
|
|
|
|
SPC g h r undo cursor hunk
|
|
|
|
|
SPC g h v preview cursor hunk
|
|
|
|
|
<
|
2021-04-11 14:13:57 +08:00
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
GITHUB *SpaceVim-layers-github*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides GitHub integration for SpaceVim
|
|
|
|
|
|
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC g h i show issues
|
|
|
|
|
normal SPC g h a show activities
|
|
|
|
|
normal SPC g h d show dashboard
|
|
|
|
|
normal SPC g h f show current file in browser
|
|
|
|
|
normal SPC g h I show issues in browser
|
|
|
|
|
normal SPC g h p show PRs in browser
|
|
|
|
|
<
|
|
|
|
|
|
2021-09-20 19:15:52 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
GTAGS *SpaceVim-layers-gtags*
|
2021-09-20 19:15:52 +08:00
|
|
|
|
|
|
|
|
|
`gtags` layer provides |gtags| integration for SpaceVim. To load this layer:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'gtags'
|
|
|
|
|
<
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
The layer option can be used when loading the `gtags` layer, for example:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'gtags'
|
|
|
|
|
auto_update = true
|
|
|
|
|
open_quickfix = 0
|
|
|
|
|
<
|
|
|
|
|
1. `auto_update`: enable/disable database update automatically.
|
|
|
|
|
2. `open_quickfix`: This setting will open the |quickfix| list when
|
|
|
|
|
adding entries. same as |g:gtags_open_list|
|
|
|
|
|
3. `gtagslabel`: the backend of gtags command, you can use `ctags` or
|
|
|
|
|
`pygments`. It is empty string by default.
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
INCSEARCH *SpaceVim-layers-incsearch*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer improved incremental searching for neovim/vim
|
|
|
|
|
|
|
|
|
|
mappings
|
|
|
|
|
>
|
|
|
|
|
key mode description
|
|
|
|
|
/ n/v incsearch forward
|
|
|
|
|
? n/v incsearch backward
|
|
|
|
|
g/ n/v incsearch stay
|
|
|
|
|
n n nohlsearch n
|
|
|
|
|
N n nohlsearch N
|
|
|
|
|
* n nohlsearch *
|
|
|
|
|
g* n nohlsearch g*
|
|
|
|
|
# n nohlsearch #
|
|
|
|
|
g# n nohlsearch g#
|
|
|
|
|
z/ n incsearch fuzzy /
|
|
|
|
|
z? n incsearch fuzzy ?
|
|
|
|
|
zg? n incsearch fuzzy g?
|
|
|
|
|
<Space>/ n incsearch easymotion
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
INDENTMOVE *SpaceVim-layers-indentmove*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
Move cursor quickly according to indent.
|
|
|
|
|
|
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key mode function
|
|
|
|
|
-----------------------------------------------------------------
|
|
|
|
|
EH normal/visual move up to nearest line with smaller
|
|
|
|
|
indent level
|
|
|
|
|
EL normal/visual move down to nearest line with larger
|
|
|
|
|
indent level
|
|
|
|
|
EJ normal/visual move down to nearest line with smaller
|
|
|
|
|
or same indent level
|
|
|
|
|
EK normal/visual move down to nearest line with larger
|
|
|
|
|
or same indent level
|
|
|
|
|
EI normal/visual move down to nearest child indent
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#ACTIONSCRIPT *SpaceVim-layers-lang-actionscript*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides syntax highlighting for actionscript. To enable this
|
|
|
|
|
layer:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = "lang#actionscript"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#AGDA *SpaceVim-layers-lang-agda*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides syntax highlighting for agda. To enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#agda"
|
|
|
|
|
<
|
|
|
|
|
|
2021-10-01 18:22:05 +08:00
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
The following key bindings will be added when this layer is loaded. All key
|
|
|
|
|
bindings start with `SPC l`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key binding Description
|
|
|
|
|
SPC l r execute current file
|
|
|
|
|
SPC l l reload
|
|
|
|
|
SPC l t infer
|
|
|
|
|
SPC l f refine false
|
|
|
|
|
SPC l F refine true
|
|
|
|
|
SPC l g give
|
|
|
|
|
SPC l c make case
|
|
|
|
|
SPC l a auto
|
|
|
|
|
SPC l e context
|
|
|
|
|
SPC l n Normalize IgnoreAbstract
|
|
|
|
|
SPC l N Normalize DefaultCompute
|
|
|
|
|
SPC l M Show module
|
|
|
|
|
SPC l y why in scope
|
|
|
|
|
SPC l h helper function
|
|
|
|
|
SPC l m metas
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#ASCIIDOC *SpaceVim-layers-lang-asciidoc*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides syntax highlighting for asciidoc. To enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#asciidoc"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#ASEPCTJ *SpaceVim-layers-lang-asepctj*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides syntax highlighting for asepctj. To enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#asepctj"
|
|
|
|
|
<
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#ASSEMBLY *SpaceVim-layers-lang-assembly*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer provides syntax highlighting for assembly. To enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#assembly"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#AUTOHOTKEY *SpaceVim-layers-lang-autohotkey*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer provides syntax highlighting for autohotkey. To enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#autohotkey"
|
|
|
|
|
<
|
|
|
|
|
|
2021-10-01 18:27:41 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
LANG#AUTOIT *SpaceVim-layers-lang-autoit*
|
|
|
|
|
|
|
|
|
|
This layer provides syntax highlighting for autoit. To enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#autoit"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
The following key binding will be added when this layer is loaded:
|
|
|
|
|
>
|
|
|
|
|
key binding Description
|
|
|
|
|
SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#BATCH *SpaceVim-layers-lang-batch*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for batch development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#batch'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for batch, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#C *SpaceVim-layers-lang-c*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for c/cpp development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#c'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
`clang_executable`: Set the path to the clang executable, by default, it is
|
|
|
|
|
`clang`.
|
|
|
|
|
|
|
|
|
|
`enable_clang_syntax_highlight`: Enable/Disable clang based syntax
|
|
|
|
|
highlighting. By default it is disabled.
|
|
|
|
|
|
|
|
|
|
`libclang_path`: The libclang shared object (dynamic library) file path. By
|
|
|
|
|
default it is empty
|
|
|
|
|
|
|
|
|
|
`clang_std`: This is a dictionary for setting std for c/cpp. The default
|
|
|
|
|
valuable is :
|
|
|
|
|
>
|
|
|
|
|
'c' : 'c11',
|
|
|
|
|
'cpp' : 'c++1z',
|
|
|
|
|
'objc' : 'c11',
|
|
|
|
|
'objcpp': 'c++1z',
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
`clang_flag`: You should be able to just paste most of your compile flags in
|
|
|
|
|
there.
|
|
|
|
|
|
|
|
|
|
Here is an example how to use above options:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = "lang#c"
|
|
|
|
|
clang_executable = "/usr/bin/clang"
|
|
|
|
|
clang_flag = ['-I/user/include']
|
|
|
|
|
[layers.clang_std]
|
|
|
|
|
c = "c11"
|
|
|
|
|
cpp = "c++1z"
|
|
|
|
|
objc = "c11"
|
|
|
|
|
objcpp = "c++1z"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
Instead of using `clang_flag` options, You can also create a `.clang` file in
|
|
|
|
|
the root directory of your project. SpaceVim will load the options defined in
|
|
|
|
|
`.clang` file. For example:
|
|
|
|
|
>
|
|
|
|
|
-std=c11
|
|
|
|
|
-I/home/test
|
|
|
|
|
<
|
|
|
|
|
Note: If `.clang` file contains std configuration, it will override
|
|
|
|
|
`clang_std` layer option.
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for c, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
}}}
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#CHAPEL *SpaceVim-layers-lang-chapel*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for chapel development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#chapel'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r compile and run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#CLOJURE *SpaceVim-layers-lang-clojure*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
This layer provides clojure language support in SpaceVim. Including syntax
|
|
|
|
|
highlighting, code indent, code runner and REPL. This layer is not enabled by
|
|
|
|
|
default, To enable this layer:
|
2021-02-11 21:57:11 +08:00
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#clojure"
|
|
|
|
|
<
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
1. `clojure_interpreter`: Set the clojure interpreter, by default, it is
|
|
|
|
|
`clojure`
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#clojure'
|
|
|
|
|
clojure_interpreter = 'path/to/clojure'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for clojure, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#COFFEESCRIPT *SpaceVim-layers-lang-coffeescript*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for coffeescript development, disabled by default, to enable
|
|
|
|
|
this layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#coffeescript'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for coffeescript, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#CRYSTAL *SpaceVim-layers-lang-crystal*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
The lang#crystal layer provides crystal filetype detection and syntax
|
|
|
|
|
highlight, crystal tool and crystal spec integration. To enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#crystal"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
MAPPING
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key binding description
|
|
|
|
|
SPC l r run current code
|
|
|
|
|
|
|
|
|
|
<
|
|
|
|
|
This layer also provides REPL support for crystal, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#CSHARP *SpaceVim-layers-lang-csharp*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
This layer includes utilities and language-specific mappings for csharp
|
|
|
|
|
development. By default it is disabled, to enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#csharp"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l b compile the project
|
|
|
|
|
normal SPC l f format current file
|
|
|
|
|
normal SPC l d show doc
|
|
|
|
|
normal SPC l e rename symbol under cursor
|
|
|
|
|
normal SPC l g g go to definition
|
|
|
|
|
normal SPC l g i find implementations
|
|
|
|
|
normal SPC l g t find type
|
|
|
|
|
normal SPC l g s find symbols
|
|
|
|
|
normal SPC l g u find usages of symbol under cursor
|
|
|
|
|
normal SPC l g m find members in the current buffer
|
|
|
|
|
normal SPC l s r reload the solution
|
|
|
|
|
normal SPC l s s start the OmniSharp server
|
|
|
|
|
normal SPC l s S stop the OmniSharp server
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#D *SpaceVim-layers-lang-d*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for d development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#d'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for d, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#DART *SpaceVim-layers-lang-dart*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
The lang#dart layer provides code completion, documentation lookup, jump to
|
|
|
|
|
definition, dart_repl integration for dart. It uses neomake as default syntax
|
|
|
|
|
checker which is loaded in |SpaceVim-layer-checkers|. To enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#dart"
|
|
|
|
|
<
|
|
|
|
|
|
2021-04-24 22:12:14 +08:00
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
1. `dart_sdk_path`: Set the path of dart sdk, by default, it is ''.
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for hack, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer use deoplete-dart as default completion plugin for dart. If the
|
|
|
|
|
|SpaceVim-layer-lsp| is enabled for dart, This plugin will not be loaded.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#DOCKERFILE *SpaceVim-layers-lang-dockerfile*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
The lang#dockerfile layer provides syntax highlighting for dockerfile.
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#E *SpaceVim-layers-lang-e*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
This layer includes utilities and language-specific mappings for e
|
|
|
|
|
development. By default it is disabled, to enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#e"
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#EIFFEL *SpaceVim-layers-lang-eiffel*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for lang#eiffel development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#eiffel'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
-----------------------------
|
2021-05-07 19:29:32 +08:00
|
|
|
|
SPC l c run eclean
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#ELIXIR *SpaceVim-layers-lang-elixir*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for elixir development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#elixir'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
normal g d jump to definition
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for d, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#ELM *SpaceVim-layers-lang-elm*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for elm development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#elm'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for elm, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#ERLANG *SpaceVim-layers-lang-erlang*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for erlang development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#erlang'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for erlang, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#EXTRA *SpaceVim-layers-lang-extra*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
The lang#extra layer provides syntax highlighting, indent for extra
|
|
|
|
|
programming language. includes:
|
|
|
|
|
|
|
|
|
|
1. pug
|
|
|
|
|
|
|
|
|
|
digitaltoad/vim-pug syntax highlighting and indent
|
|
|
|
|
|
|
|
|
|
2. i3config
|
|
|
|
|
|
|
|
|
|
PotatoesMaster/i3-vim-syntax syntax highlighting for i3 config
|
|
|
|
|
|
|
|
|
|
3. irssi config
|
|
|
|
|
|
|
|
|
|
isundil/vim-irssi-syntax syntax highlighting for irssi config
|
|
|
|
|
|
2021-10-01 19:52:49 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
LANG#FENNEL *SpaceVim-layers-lang-fennel*
|
|
|
|
|
|
|
|
|
|
This layer is for fennel development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#fennel'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
1. `fennel_interpreter`: Set the path of `fennel` command,
|
|
|
|
|
by default it is `fennel`.
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for fennel, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#FORTH *SpaceVim-layers-lang-forth*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer is for forth development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#forth'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#FORTRAN *SpaceVim-layers-lang-fortran*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer is for fortran development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#fortran'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for fortran, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#FOXPRO *SpaceVim-layers-lang-foxpro*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
The lang#foxpro layer provides syntax highlighting for foxpro.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#FSHARP *SpaceVim-layers-lang-fsharp*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for fsharp development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#fsharp'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for goby, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#GO *SpaceVim-layers-lang-go*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer includes code completion and syntax checking for Go development.
|
|
|
|
|
|
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l a go alternate
|
|
|
|
|
normal SPC l b go build
|
|
|
|
|
normal SPC l c go coverage
|
|
|
|
|
normal SPC l d go doc
|
|
|
|
|
normal SPC l D go doc vertical
|
|
|
|
|
normal SPC l e go rename
|
|
|
|
|
normal SPC l g go definition
|
|
|
|
|
normal SPC l G go generate
|
|
|
|
|
normal SPC l h go info
|
|
|
|
|
normal SPC l i go implements
|
|
|
|
|
normal SPC l I implement stubs
|
|
|
|
|
normal SPC l k add tags
|
|
|
|
|
normal SPC l K remove tags
|
|
|
|
|
normal SPC l l list declarations in file
|
|
|
|
|
normal SPC l L list declarations in dir
|
|
|
|
|
normal SPC l m format improts
|
|
|
|
|
normal SPC l M add import
|
|
|
|
|
normal SPC l x go referrers
|
|
|
|
|
normal SPC l s fill struct
|
|
|
|
|
normal SPC l t go test
|
|
|
|
|
normal SPC l v freevars
|
|
|
|
|
normal SPC l r go run
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#GOBY *SpaceVim-layers-lang-goby*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for goby development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#goby'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for goby, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#GOSU *SpaceVim-layers-lang-gosu*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for gosu development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#gosu'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#GRAPHQL *SpaceVim-layers-lang-graphql*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
The lang#graphql layer provides syntax highlighting indent for graphql. To
|
|
|
|
|
enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#graphql"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This filetype is automatically selected for filenames ending in .graphql,
|
|
|
|
|
.graphqls, and .gql. If you would like to enable automatic syntax support for
|
|
|
|
|
more file extensions (e.g., *.prisma), add following into bootstrap function.
|
|
|
|
|
>
|
|
|
|
|
augroup mybootstrap
|
|
|
|
|
au!
|
|
|
|
|
au BufNewFile,BufRead *.prisma setfiletype graphql
|
|
|
|
|
augroup END
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#GROOVY *SpaceVim-layers-lang-groovy*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for groovy development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#groovy'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for groovy, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#HACK *SpaceVim-layers-lang-hack*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
This layer is for hack development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#hack'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for hack, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#HASKELL *SpaceVim-layers-lang-haskell*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for haskell development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#haskell'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for haskell, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#HTML *SpaceVim-layers-lang-html*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for html development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#html"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
|
|
2021-09-01 21:16:13 +08:00
|
|
|
|
`emmet_leader_key`: change the default leader key for emmet
|
|
|
|
|
`emmet_filetyps`: Set the filetypes for enabling emmet
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#html"
|
2021-09-01 21:16:13 +08:00
|
|
|
|
emmet_leader_key = "<C-e>"
|
|
|
|
|
emmet_filetyps = ['html']
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Binding description
|
|
|
|
|
<C-e> emmet leader key
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#HY *SpaceVim-layers-lang-hy*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for hy development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#hy'
|
|
|
|
|
<
|
|
|
|
|
|
2021-04-25 21:09:05 +08:00
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
1. `hy_interpreter`: Set the hy interpreter, by default, it is `hy`
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#hy'
|
|
|
|
|
hy_interpreter = 'path/to/hy'
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for hy, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#IDRIS *SpaceVim-layers-lang-idris*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for idris development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#idris'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for idris, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#IO *SpaceVim-layers-lang-io*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer is for io development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#io'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for io, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#J *SpaceVim-layers-lang-j*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for j development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#j'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for j, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#JANET *SpaceVim-layers-lang-janet*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for janet development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#janet'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for janet, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#JAVA *SpaceVim-layers-lang-java*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for java development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#java'
|
|
|
|
|
<
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
1. `format_on_save`: Enable/disabled code formatting when saving current
|
|
|
|
|
file. Disabled by default.
|
|
|
|
|
2. `java_formatter_jar`: Set the full path of google's java formatter jar.
|
|
|
|
|
3. `java_file_head`: The default file header for new java file. by default
|
|
|
|
|
it is:
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#java'
|
|
|
|
|
java_file_head = [
|
|
|
|
|
'/**',
|
|
|
|
|
' * @author : `fnamemodify(expand("~"), ":t")`',
|
|
|
|
|
' * @created : `strftime("%Y-%m-%d")`',
|
|
|
|
|
'**/',
|
|
|
|
|
''
|
|
|
|
|
]
|
|
|
|
|
<
|
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Import key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l I import missing classes
|
|
|
|
|
normal SPC l R remove unused imports
|
|
|
|
|
normal SPC l i smart import class under cursor
|
|
|
|
|
insert <c-j>I import missing imports
|
|
|
|
|
insert <c-j>R remove unused imports
|
|
|
|
|
insert <c-j>i smart import class under cursor
|
|
|
|
|
|
|
|
|
|
Generate key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l g A generate accessors
|
|
|
|
|
normal SPC l g s generate setter accessor
|
|
|
|
|
normal SPC l g g generate getter accessor
|
|
|
|
|
normal SPC l g a generate setter and getter accessor
|
|
|
|
|
normal SPC l g t generate toString function
|
|
|
|
|
normal SPC l g e generate equals and hashcode function
|
|
|
|
|
normal SPC l g c generate constructor
|
|
|
|
|
normal SPC l g C generate default constructor
|
|
|
|
|
insert <c-j>s generate setter accessor
|
|
|
|
|
insert <c-j>g generate getter accessor
|
|
|
|
|
insert <c-j>a generate getter and setter accessor
|
|
|
|
|
visual SPC l g s generate setter accessor
|
|
|
|
|
visual SPC l g g generate getter accessor
|
|
|
|
|
visual SPC l g a generate setter and getter accessor
|
|
|
|
|
|
|
|
|
|
Maven key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l m i run maven clean install
|
|
|
|
|
normal SPC l m I run maven install
|
|
|
|
|
normal SPC l m p run one already goal from list
|
|
|
|
|
normal SPC l m r run maven goals
|
|
|
|
|
normal SPC l m R run one maven goal
|
|
|
|
|
normal SPC l m t run maven test
|
|
|
|
|
|
|
|
|
|
Gradle key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l g r run gradle run
|
|
|
|
|
normal SPC l g b run gradle build
|
|
|
|
|
normal SPC l g B run gradle clean build
|
|
|
|
|
normal SPC l g t run gradle test
|
|
|
|
|
|
|
|
|
|
Jump key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l j a jump to alternate file
|
|
|
|
|
|
|
|
|
|
REPL key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l s i start a jshell inferior REPL process
|
|
|
|
|
normal SPC l s b send buffer and keep code buffer focused
|
|
|
|
|
normal SPC l s l send line and keep code buffer focused
|
|
|
|
|
normal SPC l s s send selection text and keep code buffer focused
|
|
|
|
|
<
|
|
|
|
|
CODE FORMATTING
|
|
|
|
|
To make neoformat support java file, you should install uncrustify. or
|
|
|
|
|
download google's formater jar from:
|
|
|
|
|
https://github.com/google/google-java-format
|
|
|
|
|
|
2021-10-01 15:48:50 +08:00
|
|
|
|
and set the layer option `java_formatter_jar` to the path of the jar.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#java'
|
|
|
|
|
java_formatter_jar = 'path/to/google-java-format.jar'
|
|
|
|
|
<
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#JAVASCRIPT *SpaceVim-layers-lang-javascript*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for JavaScript development, includes syntax lint, code
|
|
|
|
|
completion etc. To enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#javascript"
|
|
|
|
|
<
|
|
|
|
|
The code linter is eslint, install eslint via:
|
|
|
|
|
>
|
|
|
|
|
npm install -g eslint-cli
|
|
|
|
|
<
|
|
|
|
|
LAYER OPTION
|
|
|
|
|
|
|
|
|
|
1. auto_fix: If this option is true, --fix will be added to neomake eslint
|
|
|
|
|
maker.
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#javascript"
|
|
|
|
|
auto_fix = true
|
|
|
|
|
<
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
-----------------------------
|
|
|
|
|
SPC l r run current file
|
|
|
|
|
SPC b f format current buffer
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for javascript, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#JSON *SpaceVim-layers-lang-json*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides syntax highlighting for json file. To enable this layer:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#json"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
|
|
|
|
|
|
1. conceal: Set the valuable for |g:vim_json_syntax_conceal|
|
|
|
|
|
|
|
|
|
|
2. concealcursor: Set the valuable for |g:vim_json_syntax_concealcursor|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = 'lang#json'
|
|
|
|
|
conceal = false
|
|
|
|
|
concealcursor = ''
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#JULIA *SpaceVim-layers-lang-julia*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for julia development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#julia'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for julia, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
2021-10-04 18:49:52 +08:00
|
|
|
|
To format julia code, you need to install `JuliaFormatter`, and the key
|
|
|
|
|
binding is `SPC b f`
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#KOTLIN *SpaceVim-layers-lang-kotlin*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for kotlin development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#kotlin'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for kotlin, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#LATEX *SpaceVim-layers-lang-latex*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer is for latex development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#latex'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l i vimtex-info
|
|
|
|
|
normal SPC l I vimtex-info-full
|
|
|
|
|
normal SPC l t vimtex-toc-open
|
|
|
|
|
normal SPC l T vimtex-toc-toggle
|
|
|
|
|
normal SPC l y vimtex-labels-open
|
|
|
|
|
normal SPC l Y vimtex-labels-toggle
|
|
|
|
|
normal SPC l v vimtex-view
|
|
|
|
|
normal SPC l r vimtex-reverse-search
|
|
|
|
|
normal SPC l l vimtex-compile
|
|
|
|
|
normal SPC l L vimtex-compile-selected
|
|
|
|
|
normal SPC l k vimtex-stop
|
|
|
|
|
normal SPC l K vimtex-stop-all
|
|
|
|
|
normal SPC l e vimtex-errors
|
|
|
|
|
normal SPC l o vimtex-compile-output
|
|
|
|
|
normal SPC l g vimtex-status
|
|
|
|
|
normal SPC l G vimtex-status-all
|
|
|
|
|
normal SPC l c vimtex-clean
|
|
|
|
|
normal SPC l C vimtex-clean-full
|
|
|
|
|
normal SPC l m vimtex-imaps-list
|
|
|
|
|
normal SPC l x vimtex-reload
|
|
|
|
|
normal SPC l X vimtex-reload-state
|
|
|
|
|
normal SPC l s vimtex-toggle-main
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#LISP *SpaceVim-layers-lang-lisp*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for Common Lisp development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#lisp'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for lisp, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#LIVESCRIPT *SpaceVim-layers-lang-livescript*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for livescript development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#livescript'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for livescript, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#LUA *SpaceVim-layers-lang-lua*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer includes utilities and language-specific mappings for lua
|
|
|
|
|
development.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#lua'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current script
|
|
|
|
|
normal SPC l b compile current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for lua, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#MARKDOWN *SpaceVim-layers-lang-markdown*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer is for markdown language, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#markdown'
|
|
|
|
|
<
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
1. `enabled_formater`: Set the enabled formater, by default it is
|
|
|
|
|
`['remark']`.
|
|
|
|
|
2. `enableWcwidth`: Enable/disabled wcwidth option, it is disabled by
|
|
|
|
|
default.
|
|
|
|
|
3. `listItemChar`: Set the default list item char, it is `-` by default.
|
|
|
|
|
4. `listItemIndent`: Set the default indent of list item. It is `1` by
|
|
|
|
|
default.
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#MOONSCRIPT *SpaceVim-layers-lang-moonscript*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for moonscript development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#moonscript'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
-----------------------------
|
|
|
|
|
SPC l r Run current moonscript
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for moonscript, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#NIM *SpaceVim-layers-lang-nim*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for nim development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#nim'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
normal SPC l d show symbol info
|
|
|
|
|
normal SPC l e rename symbol in file
|
|
|
|
|
normal SPC l E rename symbol in project
|
|
|
|
|
normal g d go to definition
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for nim, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#NIX *SpaceVim-layers-lang-nix*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
The lang#nix layer provides syntax highlighting for the Nix expression
|
|
|
|
|
language.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#OCAML *SpaceVim-layers-lang-ocaml*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
OCaml autocompletion provided by merlin.
|
|
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
>
|
|
|
|
|
opam
|
|
|
|
|
merlin
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#PACT *SpaceVim-layers-lang-pact*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for pact development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#pact'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for pact, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#PASCAL *SpaceVim-layers-lang-pascal*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer is for pascal development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#pascal'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#PERL *SpaceVim-layers-lang-perl*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer is for perl development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#perl'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
1. `perl_interpreter`: Set the perl interpreter, by default, it is `perl`
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#perl'
|
|
|
|
|
perl_interpreter = 'path/to/perl'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for perl, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#PHP *SpaceVim-layers-lang-php*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
2021-04-24 16:47:59 +08:00
|
|
|
|
This layer is for php development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#php'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
1. `php_interpreter`: Set the PHP interpreter, by default, it is `php`
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#php'
|
|
|
|
|
php_interpreter = 'path/to/php'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for php, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#PONY *SpaceVim-layers-lang-pony*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for pony development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#pony'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#PROCESSING *SpaceVim-layers-lang-processing*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for Processing development: https://processing.org
|
|
|
|
|
|
|
|
|
|
This is based on the work from https://github.com/sophacles/vim-processing
|
|
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
|
|
|
|
|
1. You will need a copy of processing-java. The best way to do this is to
|
|
|
|
|
get a copy of the Processing IDE from https://processing.org/download/
|
|
|
|
|
|
|
|
|
|
Once you have it, run it, and then select Tools -> install
|
|
|
|
|
"processing-java"
|
|
|
|
|
|
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-----------------------------------------------
|
|
|
|
|
normal SPC l r execute current sketch
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#PROLOG *SpaceVim-layers-lang-prolog*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for prolog development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#prolog'
|
|
|
|
|
<
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
--------------------------------
|
|
|
|
|
SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
The default code runner command is `swipl -q -f %s -t main`, `%s` will be
|
|
|
|
|
replaced to the path of current file.
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for prolog, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#PUPPET *SpaceVim-layers-lang-puppet*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for Puppet development. It provides syntax highlighting and
|
|
|
|
|
syntax checking.
|
|
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
>
|
|
|
|
|
Puppet
|
|
|
|
|
Puppet Lint
|
|
|
|
|
<
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#PURESCRIPT *SpaceVim-layers-lang-purescript*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer provides purescript language support for SpaceVim. Includding
|
|
|
|
|
syntax highlighting, code formatting and code completion. This layer is not
|
|
|
|
|
enabled by default, to enable this layer, add following snippet into SpaceVim
|
|
|
|
|
configuration file:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#purescript'
|
|
|
|
|
<
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
--------------------------------
|
|
|
|
|
SPC l L list loaded modules
|
|
|
|
|
SPC l l reset loaded modules and load externs
|
|
|
|
|
SPC l R rebuild current buffer
|
|
|
|
|
SPC l f generate function template
|
|
|
|
|
SPC l t add type annotation
|
|
|
|
|
SPC l a apply current line suggestion
|
|
|
|
|
SPC l A apply all suggestions
|
|
|
|
|
SPC l C add case expression
|
|
|
|
|
SPC l i import module
|
|
|
|
|
SPC l p search pursuit for cursor ident
|
|
|
|
|
SPC l T find type of cursor ident
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for purescript, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#PYTHON *SpaceVim-layers-lang-python*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
This layer provides python language support for SpaceVim. Includding syntax
|
|
|
|
|
highlighting, code formatting and code completion. This layer is not enabled
|
|
|
|
|
by default, to enable this layer, add following snippet into SpaceVim
|
|
|
|
|
configuration file:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#python'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
|
|
|
|
|
|
1. python_file_head: the default file head for python source code.
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#python"
|
|
|
|
|
python_file_head = [
|
|
|
|
|
'#!/usr/bin/python3',
|
|
|
|
|
'# -*- coding : utf-8 -*-'
|
|
|
|
|
''
|
|
|
|
|
]
|
|
|
|
|
<
|
|
|
|
|
2. `python_interpreter`: Set the interpreter of python.
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
>
|
2021-05-07 19:29:32 +08:00
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#python'
|
|
|
|
|
python_interpreter = '~/download/bin/python3'
|
|
|
|
|
<
|
|
|
|
|
3. format_on_save: enable/disable code formation when save python file. This
|
|
|
|
|
options is disabled by default, to enable it:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#python'
|
|
|
|
|
format_on_save = true
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
--------------------------------
|
|
|
|
|
SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for python, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#RACKET *SpaceVim-layers-lang-racket*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for racket development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#racket'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for racket, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#RACKET *SpaceVim-layers-lang-red*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for red development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#red'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for red, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#REASON *SpaceVim-layers-lang-reason*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer is for reason development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your |SpaceVim-options| file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#reason'
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#RING *SpaceVim-layers-lang-r*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for r development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#r'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
The command of code runner for R is `"R <%s"` `%s` will be replaced to the
|
|
|
|
|
path of current R file.
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
--------------------------------
|
|
|
|
|
SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for r, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#RING *SpaceVim-layers-lang-ring*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for ring development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#ring'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
|
|
|
|
|
|
1. ring_repl: Set the path of ring repl.
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#ring"
|
|
|
|
|
ring_repl = "/path/to/repl.ring"
|
|
|
|
|
<
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
The code runner for ring is "ring %" % will be replaced to the path of current
|
|
|
|
|
ring file.
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
--------------------------------
|
|
|
|
|
SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for ring, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#RUBY *SpaceVim-layers-lang-ruby*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for ruby development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your |SpaceVim-options| file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#ruby'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
|
|
|
|
|
|
1. ruby_file_head: the default file head for ruby source code.
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#ruby"
|
|
|
|
|
ruby_file_head = [
|
|
|
|
|
'#!/usr/bin/ruby -w',
|
|
|
|
|
'# -*- coding : utf-8 -*-'
|
|
|
|
|
''
|
|
|
|
|
]
|
|
|
|
|
<
|
2021-04-03 22:07:15 +08:00
|
|
|
|
2. repl_command: the REPL command for ruby
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#ruby'
|
2021-04-03 22:07:15 +08:00
|
|
|
|
repl_command = '~/download/bin/ruby_repl'
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
|
|
|
|
3. format_on_save: enable/disable code formation when save ruby file. This
|
|
|
|
|
options is disabled by default, to enable it:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#ruby'
|
2021-04-03 22:07:15 +08:00
|
|
|
|
repl_command = '~/download/bin/ruby_repl'
|
2021-02-11 21:57:11 +08:00
|
|
|
|
format_on_save = true
|
|
|
|
|
<
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
--------------------------------
|
|
|
|
|
SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for ruby, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#RUST *SpaceVim-layers-lang-rust*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for Rust development.
|
|
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
|
|
|
|
|
1. Racer needs a copy of the rust source. The easiest way to do this is with
|
|
|
|
|
rustup. Once rustup is installed, download the source with:
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
rustup component add rust-src
|
|
|
|
|
<
|
|
|
|
|
2. Install Rust nightly build
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
rustup install nightly
|
|
|
|
|
<
|
|
|
|
|
3. Install racer:
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
cargo +nightly install racer
|
|
|
|
|
<
|
|
|
|
|
4. Set the RUST_SRC_PATH variable in your .bashrc:
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
RUST_SRC_PATH=~/.multirust/toolchains/<change>/lib/rustlib/src/rust/src
|
|
|
|
|
export RUST_SRC_PATH
|
|
|
|
|
<
|
|
|
|
|
5. Add racer to your path, or set the path with:
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#rust'
|
|
|
|
|
racer_cmd = "/path/to/racer/bin"
|
|
|
|
|
<
|
|
|
|
|
|
2021-10-01 16:58:56 +08:00
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
The following layer options are supported when loading this layer:
|
|
|
|
|
|
|
|
|
|
1. `recommended_style`: `true`/`false` (Enable/Disable) recommended code
|
|
|
|
|
style for rust. This option is disabled by default.
|
|
|
|
|
2. `format_on_save`: `true`/`false` (Enable/Disable) format current buffer
|
|
|
|
|
after save. This option is disabled by default.
|
|
|
|
|
3. `racer_cmd`: The path of `racer` binary. This option is `racer` by
|
|
|
|
|
default.
|
|
|
|
|
4. `rustfmt_cmd`: The path of `rustfmt` binary. This option is `rustfmt`
|
|
|
|
|
by default.
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
-----------------------------------------------
|
|
|
|
|
g d rust-definition
|
|
|
|
|
SPC l d rust-doc
|
|
|
|
|
SPC l r run current file
|
|
|
|
|
SPC l e rls-rename-symbol
|
|
|
|
|
SPC l u rls-show-references
|
|
|
|
|
SPC l c b cargo-build
|
|
|
|
|
SPC l c c cargo-clean
|
|
|
|
|
SPC l c f cargo-fmt
|
|
|
|
|
SPC l c t cargo-test
|
|
|
|
|
SPC l c u cargo-update
|
|
|
|
|
SPC l c B cargo-bench
|
|
|
|
|
SPC l c D cargo-docs
|
|
|
|
|
SPC l c r cargo-run
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for rust, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#SCALA *SpaceVim-layers-lang-scala*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for Scala development.
|
|
|
|
|
|
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Import key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal <F4> show candidates for importing of cursor symbol
|
|
|
|
|
insert <F4> show candidates for importing of cursor symbol
|
|
|
|
|
normal SPC l i c show candidates for importing of cursor symbol
|
|
|
|
|
normal SPC l i q prompt for a qualified import
|
|
|
|
|
normal SPC l i o organize imports of current file
|
|
|
|
|
normal SPC l i s sort imports of current file
|
|
|
|
|
insert <c-;>i prompt for a qualified import
|
|
|
|
|
insert <c-;>o organize imports of current file
|
|
|
|
|
insert <c-;>s sort imports of current file
|
|
|
|
|
|
|
|
|
|
Debug key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l d t show debug stack trace of current frame
|
|
|
|
|
normal SPC l d c continue the execution
|
|
|
|
|
normal SPC l d b set a breakpoint for the current line
|
|
|
|
|
normal SPC l d B clear all breakpoints
|
|
|
|
|
normal SPC l d l launching debugger
|
|
|
|
|
normal SPC l d i step into next statement
|
|
|
|
|
normal SPC l d o step over next statement
|
|
|
|
|
normal SPC l d O step out of current function
|
|
|
|
|
|
|
|
|
|
Sbt key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l b c sbt clean compile
|
|
|
|
|
normal SPC l b r sbt run
|
|
|
|
|
normal SPC l b t sbt test
|
|
|
|
|
normal SPC l b p sbt package
|
|
|
|
|
normal SPC l b d sbt show project dependencies tree
|
|
|
|
|
normal SPC l b l sbt reload project build definition
|
|
|
|
|
normal SPC l b u sbt update external dependencies
|
|
|
|
|
normal SPC l b e run sbt to generate .ensime config file
|
|
|
|
|
|
|
|
|
|
Execute key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l r run main class
|
|
|
|
|
|
|
|
|
|
REPL key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l s i start a scala inferior REPL process
|
|
|
|
|
normal SPC l s b send buffer and keep code buffer focused
|
|
|
|
|
normal SPC l s l send line and keep code buffer focused
|
|
|
|
|
normal SPC l s s send selection text and keep code buffer focused
|
|
|
|
|
|
|
|
|
|
Other key bindings:
|
|
|
|
|
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC l Q bootstrap server when first-time-use
|
|
|
|
|
normal SPC l h show Documentation of cursor symbol
|
|
|
|
|
normal SPC l n inline local refactoring of cursor symbol
|
|
|
|
|
normal SPC l e rename cursor symbol
|
|
|
|
|
normal SPC l g find Definition of cursor symbol
|
|
|
|
|
normal SPC l t show Type of expression of cursor symbol
|
|
|
|
|
normal SPC l p show Hierarchical view of a package
|
|
|
|
|
normal SPC l u find Usages of cursor symbol
|
|
|
|
|
|
|
|
|
|
<
|
|
|
|
|
SpaceVim uses [`ensime-vim`](https://ensime.github.io/editors/vim/install/) to
|
|
|
|
|
provide code completion, format, sort imports etc, if has python support. Also
|
|
|
|
|
you can enable lsp layer to has a better experience.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LANGUAGE SERVER `METALS-VIM`
|
|
|
|
|
|
|
|
|
|
Right now `metals-vim` works with `coc.nvim` to offer a richer user experience
|
|
|
|
|
than other servers(LanguageClient-neovim or vim-lsp). Please make sure that
|
|
|
|
|
`metals-vim` executable is in your `system $PATH`. Installation guide is here:
|
|
|
|
|
[`metals-vim`](https://scalameta.org/metals/docs/editors/vim.html)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ENSIME-VIM SETUP STEPS
|
|
|
|
|
|
|
|
|
|
The following is quick install steps, if you want to see complete details,
|
|
|
|
|
please see: [`ensime-vim`](https://ensime.github.io/editors/vim/install/)
|
|
|
|
|
|
|
|
|
|
1. Install vim`s plugin and its dependencies as following.
|
|
|
|
|
|
|
|
|
|
`pip install websocket-client sexpdata`,
|
|
|
|
|
|
|
|
|
|
`pip install pynvim` (neovim only).
|
|
|
|
|
|
|
|
|
|
2. Integration ENSIME with your build tools, here we use sbt. add
|
|
|
|
|
(sbt-ensime) as global plugin for sbt: Put code `addSbtPlugin("org.ensime"
|
|
|
|
|
% "sbt-ensime" % "2.6.1")` in file '~/.sbt/plugins/plugins.sbt' (create
|
|
|
|
|
if not exists). Armed with your build tool plugin, generate the `.ensime`
|
|
|
|
|
config file from your project directory in command line, e.g. for sbt use
|
|
|
|
|
`sbt ensimeConfig`, or `./gradlew ensime` for Gradle. the first time will
|
|
|
|
|
take several minutes.
|
|
|
|
|
|
|
|
|
|
3. The first time you use ensime-vim (per Scala version), it will
|
|
|
|
|
`bootstrap` the ENSIME server installation when opening a Scala file you
|
|
|
|
|
will be prompted to run |:EnInstall|. Do that and give it a minute or two
|
|
|
|
|
to run. After this, you should see reports in Vim's message area that
|
|
|
|
|
ENSIME is coming up, and the indexer and analyzer are ready. Going
|
|
|
|
|
forward, ensime-vim will automatically start the ENSIME server when you
|
|
|
|
|
edit Scala files in a project with an `.ensime` config present.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CODE FORMATTING
|
|
|
|
|
|
|
|
|
|
1. To make neoformat support scala file, you should install scalariform.
|
|
|
|
|
[`scalariform`](https://github.com/scala-ide/scalariform) and set
|
|
|
|
|
'g:spacevim_layer_lang_scala_formatter' to the path of the jar.
|
|
|
|
|
|
|
|
|
|
2. If lsp
|
|
|
|
|
[`metals-vim`](https://scalameta.org/metals/docs/editors/overview.html) is
|
|
|
|
|
enabled, it will automatically use
|
|
|
|
|
[`scalafmt`](https://scalameta.org/scalafmt/docs/configuration.html) to
|
|
|
|
|
format code.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#SCHEME *SpaceVim-layers-lang-scheme*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for scheme development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your |SpaceVim-options| file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#scheme'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
|
|
|
|
|
|
1. scheme_dialect: Set the dialect of scheme.
|
|
|
|
|
|
|
|
|
|
2. scheme_interpreter: Set the path or interpreter of scheme.
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
-----------------------------------------------
|
|
|
|
|
SPC l r Run current file
|
|
|
|
|
<
|
|
|
|
|
This layer also provides REPL support for scheme, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#SH *SpaceVim-layers-lang-sh*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for shell script development, including bash, zsh and fish. This
|
|
|
|
|
layer provides basic syntax highlighting and code completion , and it is
|
|
|
|
|
disabled by default, to enable this layer, add following snippet to your
|
|
|
|
|
|SpaceVim-options| file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#sh'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-10-03 19:41:15 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
LANG#SMALLTALK *SpaceVim-layers-lang-smalltalk*
|
|
|
|
|
|
|
|
|
|
This layer is for smalltalk development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#smalltalk'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#SML *SpaceVim-layers-lang-sml*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for Standard ML development. This layer provides basic syntax
|
|
|
|
|
highlighting and code completion , and it is disabled by default, to enable
|
|
|
|
|
this layer, add following snippet to your |SpaceVim-options| file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#sml'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
You can run `:SMLCheckHealth` to check whether the environment if OK.
|
|
|
|
|
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
`smlnj_path`: Set the path to the smlnj executable, by default, it is `sml`.
|
|
|
|
|
|
|
|
|
|
`mlton_path`: Set the path to the mlton executable, by default, it is `mlton`.
|
|
|
|
|
|
|
|
|
|
`repl_options`: Options used for REPL, by default, it is ''.
|
|
|
|
|
|
|
|
|
|
`auto_create_def_use`: Whether to build def-use files on save automatically.
|
|
|
|
|
By default, it is `mlb`. Valid values is:
|
|
|
|
|
>
|
|
|
|
|
'mlb': Auto build def-use if there's a *.mlb file
|
|
|
|
|
'always': Always build def-use file
|
|
|
|
|
'never': Never build def-use file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
`enable_conceal`: `0`/`1`. Whether to enable concealing for SML files. `0` by
|
|
|
|
|
defaults. `'a` becomes `α` (or `'α`). `fn` becomes `λ.`
|
|
|
|
|
|
|
|
|
|
`enable_conceal_show_tick`: `0`/`1`. When conceal is enabled, show `'α` for
|
|
|
|
|
`'a` instead of `α`. Helps for alignment. `0` by default.
|
|
|
|
|
|
|
|
|
|
`sml_file_head`: Template for new sml file.
|
|
|
|
|
|
|
|
|
|
Here is an example how to use above options:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = "lang#sml"
|
|
|
|
|
smlnj_path = "/usr/local/smlnj/bin/sml"
|
|
|
|
|
mlton_path = "/usr/local/bin/mlton"
|
|
|
|
|
repl_options = ''
|
|
|
|
|
enable_conceal = 1
|
|
|
|
|
enable_conceal_show_tick = 1
|
|
|
|
|
auto_create_def_use = 'always'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#SWIG *SpaceVim-layers-lang-swift*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for swift development, including syntax highlighting and indent.
|
|
|
|
|
To enable it:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#swift"
|
|
|
|
|
<
|
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
-----------------------------------------------
|
|
|
|
|
SPC l k jumping to placeholders
|
2021-05-07 19:29:32 +08:00
|
|
|
|
SPC l r Run current file
|
|
|
|
|
<
|
|
|
|
|
This layer also provides REPL support for swift, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#SWIG *SpaceVim-layers-lang-swig*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for swig development, including syntax highlighting and indent.
|
|
|
|
|
To enable it:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#swig"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#TCL *SpaceVim-layers-lang-tcl*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for tcl development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#tcl'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for tcl, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#TOML *SpaceVim-layers-lang-toml*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides basic syntax highlighting for toml. To enable it:
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
|
|
|
|
name = "lang#toml"
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#TYPESCRIPT *SpaceVim-layers-lang-typescript*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides typescript development support for SpaceVim. To enable
|
|
|
|
|
this layer, add following sinippet into SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[layers]
|
2021-10-02 21:28:54 +08:00
|
|
|
|
name = 'lang#typescript'
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
2021-10-02 21:28:54 +08:00
|
|
|
|
KEY BINDINGS
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
2021-10-02 21:28:54 +08:00
|
|
|
|
The following key bindings works well in both vim and neovim.
|
|
|
|
|
>
|
|
|
|
|
Ket binding Description
|
|
|
|
|
----------------------------------------
|
|
|
|
|
g D jump to type definition
|
|
|
|
|
SPC l d show document
|
|
|
|
|
SPC l e rename symbol
|
|
|
|
|
SPC l i import
|
|
|
|
|
<
|
|
|
|
|
The following key bindings only work in neovim.
|
|
|
|
|
>
|
|
|
|
|
Ket binding Description
|
|
|
|
|
----------------------------------------
|
|
|
|
|
SPC l f run code fix
|
|
|
|
|
SPC l p preview definition
|
|
|
|
|
SPC l t view type
|
|
|
|
|
SPC l R show reference
|
|
|
|
|
SPC l D show errors
|
|
|
|
|
SPC l o organizes imports
|
|
|
|
|
<
|
|
|
|
|
The following key bindings only work in vim.
|
2021-02-11 21:57:11 +08:00
|
|
|
|
>
|
|
|
|
|
Ket binding Description
|
|
|
|
|
----------------------------------------
|
2021-10-02 21:28:54 +08:00
|
|
|
|
SPC l m interface implementations
|
2021-02-11 21:57:11 +08:00
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#V *SpaceVim-layers-lang-v*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for v development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#v'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for v, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#VBNET *SpaceVim-layers-lang-vbnet*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer is for vbnet development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#vbnet'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-10-02 20:48:35 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
LANG#VIM *SpaceVim-layers-lang-vim*
|
|
|
|
|
|
|
|
|
|
This layer is for vim script development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#vim'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
The `checkers` layer provides syntax linter for vim. you need to install the
|
|
|
|
|
`vint` command:
|
|
|
|
|
>
|
|
|
|
|
pip install vim-vint
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
The following key bindings will be added when this layer is loaded:
|
|
|
|
|
>
|
|
|
|
|
key binding Description
|
|
|
|
|
SPC l e eval cursor expr
|
|
|
|
|
SPC l v run HelpfulVersion cword
|
|
|
|
|
SPC l f open exception trace
|
|
|
|
|
g d jump to definition
|
|
|
|
|
<
|
|
|
|
|
|
2021-10-01 23:23:09 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
LANG#VUE *SpaceVim-layers-lang-vue*
|
|
|
|
|
|
|
|
|
|
This layer is for vue development, disabled by default, to enable this layer,
|
|
|
|
|
add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#vue'
|
|
|
|
|
<
|
|
|
|
|
|
2021-10-02 20:48:35 +08:00
|
|
|
|
The `checkers` layer provides syntax linter for vue. you need to install the
|
2021-10-01 23:23:09 +08:00
|
|
|
|
`eslint` and `eslint-plugin-vue`:
|
|
|
|
|
>
|
|
|
|
|
npm install -g eslint eslint-plugin-vue
|
|
|
|
|
<
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#WOLFRAM *SpaceVim-layers-lang-wolfram*
|
2021-05-07 19:29:32 +08:00
|
|
|
|
|
|
|
|
|
This layer is for wolfram development, disabled by default, to enable this
|
|
|
|
|
layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#wolfram'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for wolfram, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#XML *SpaceVim-layers-lang-xml*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
When editing an xml file, the omni func is xmlcomplete#CompleteTags. You can
|
|
|
|
|
read the documentation in autoload/xmlcomplete.vim in the vim or neovim
|
|
|
|
|
runtime directory.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANG#XQUERY *SpaceVim-layers-lang-xquery*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides basic syntax highlighting and indent file for xquery,
|
|
|
|
|
disabled by default, to enable this layer, add following snippet to your
|
|
|
|
|
|SpaceVim-options| file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#xquery'
|
|
|
|
|
<
|
|
|
|
|
|
2021-10-01 22:15:53 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
LANG#ZIG *SpaceVim-layers-lang-zig*
|
|
|
|
|
|
|
|
|
|
This layer is for zig language development, disabled by default, to enable
|
|
|
|
|
this layer, add following snippet to your SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'lang#zig'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
LAYER OPTION
|
|
|
|
|
|
|
|
|
|
1. `ztagsbin`: set the path of ztags, by default this option is `ztags`
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
normal SPC l r run current file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
This layer also provides REPL support for zig, the key bindings are:
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC l s i Start a inferior REPL process
|
|
|
|
|
SPC l s b send whole buffer
|
|
|
|
|
SPC l s l send current line
|
|
|
|
|
SPC l s s send selection text
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LANGUAGE SERVER PROTOCOL *SpaceVim-layers-lsp*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides language client support for SpaceVim.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
LEADERF *SpaceVim-layers-leaderf*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
2021-09-25 23:37:02 +08:00
|
|
|
|
This layer provides fuzzy finder feature which is based on |leaderf|, and this
|
|
|
|
|
layer requires vim compiled with `+python` or `+python3`. This layer is not
|
|
|
|
|
loaded by default. To use this layer:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'leaderf'
|
|
|
|
|
<
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
The following key bindings will be enabled when this layer is loaded:
|
|
|
|
|
>
|
|
|
|
|
Key bindings Description
|
|
|
|
|
SPC p f / Ctrl-p search files in current directory
|
|
|
|
|
<Leader> f SPC Fuzzy find menu:CustomKeyMaps
|
|
|
|
|
<Leader> f e Fuzzy find register
|
|
|
|
|
<Leader> f h Fuzzy find history/yank
|
|
|
|
|
<Leader> f j Fuzzy find jump, change
|
|
|
|
|
<Leader> f l Fuzzy find location list
|
|
|
|
|
<Leader> f m Fuzzy find output messages
|
|
|
|
|
<Leader> f o Fuzzy find functions
|
|
|
|
|
<Leader> f t Fuzzy find tags
|
|
|
|
|
<Leader> f q Fuzzy find quick fix
|
|
|
|
|
<Leader> f r Resumes Unite window
|
|
|
|
|
<
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
OPERATOR *SpaceVim-layers-operator*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
With this layer, you can confirm that text is yanked correctly and see yanked
|
|
|
|
|
text by highlighting.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
SHELL *SpaceVim-layers-shell*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
SpaceVim uses deol.nvim for shell support in neovim and uses vimshell for vim.
|
|
|
|
|
For more info, read |deol| and |vimshell|.
|
|
|
|
|
|
|
|
|
|
VARIABLE
|
|
|
|
|
|
|
|
|
|
default_shell: config the default shell to be used by shell layer.
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
SPC ' Open or switch to terminal windows
|
|
|
|
|
q Hide terminal windows in normal mode
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
TEST *SpaceVim-layers-test*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer allows to run tests on SpaceVim
|
|
|
|
|
|
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Mode Key Function
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
normal SPC k n run nearest test
|
|
|
|
|
normal SPC k f run test file
|
|
|
|
|
normal SPC k s run test suite
|
|
|
|
|
normal SPC k l run the latest test
|
|
|
|
|
normal SPC k v visits the last run test file
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
TMUX *SpaceVim-layers-tmux*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
2021-09-25 22:51:01 +08:00
|
|
|
|
`tmux` layer adds integration between tmux and vim panes. Switch between panes
|
|
|
|
|
seamlessly, syntax highlighting, commenting, man page navigation and ability
|
|
|
|
|
to execute lines as tmux commands. This layer is not added by default. To
|
|
|
|
|
include it, add following to spacevim configuration file:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'tmux'
|
|
|
|
|
<
|
|
|
|
|
If you are having issues with <C-h> in a neovim buffer, see
|
|
|
|
|
|
|
|
|
|
https://github.com/neovim/neovim/issues/2048#issuecomment-78045837
|
|
|
|
|
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
`enable_tmux_clipboard`: this option is used to enable or disable tmux
|
|
|
|
|
clipboard, by default this option is `false`.
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
MAPPINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Mode Function
|
|
|
|
|
------------------------------
|
|
|
|
|
<C-h> normal Switch to vim/tmux pane in left direction
|
|
|
|
|
<C-j> normal Switch to vim/tmux pane in down direction
|
|
|
|
|
<C-k> normal Switch to vim/tmux pane in up direction
|
|
|
|
|
<C-l> normal Switch to vim/tmux pane in right direction
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
TOOLS#DASH *SpaceVim-layers-tools-dash*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides Dash integration for SpaceVim
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-10-03 20:09:30 +08:00
|
|
|
|
TOOLS#MPV *SpaceVim-layers-tools-mpv*
|
|
|
|
|
|
|
|
|
|
The `tools#mpv` layer provides mpv integration for SpaceVim. this layer is
|
|
|
|
|
disabled by default, to enable this layer, add following snippet to your
|
|
|
|
|
SpaceVim configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'tools#mpv'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
LAYER OPTIONS
|
|
|
|
|
|
|
|
|
|
The following options can be used with this layer:
|
|
|
|
|
|
|
|
|
|
1. `mpv_interpreter`: set the path of `mpv`.
|
|
|
|
|
2. `musics_directory`: set the path of directory where to store musics.
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key Function
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
SPC m m l fuzzy find musics
|
|
|
|
|
SPC m m n next music
|
|
|
|
|
SPC m m s stop mpv
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
TOOLS#ZEAL *SpaceVim-layers-tools-zeal*
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
This layer provides Zeal integration for SpaceVim
|
|
|
|
|
|
2021-10-05 15:30:36 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
TREESITTER *SpaceVim-layers-treesitter*
|
|
|
|
|
|
|
|
|
|
This layer provides treesitter support for SpaceVim.
|
|
|
|
|
|
2021-08-11 18:51:20 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
UI *SpaceVim-layers-ui*
|
2021-08-11 18:51:20 +08:00
|
|
|
|
|
2021-09-08 10:35:38 +08:00
|
|
|
|
The `ui` layer defines the default interface for SpaceVim, and it is loaded by
|
|
|
|
|
default. This layer includes scrollbar, indentline, and cursorword
|
|
|
|
|
highlighting.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'ui'
|
|
|
|
|
enable_sidebar = false
|
|
|
|
|
enable_scrollbar = false
|
|
|
|
|
enable_indentline = true
|
|
|
|
|
enable_cursorword = false
|
|
|
|
|
indentline_char = '|'
|
|
|
|
|
conceallevel = 0
|
|
|
|
|
concealcursor = ''
|
|
|
|
|
cursorword_delay = 50
|
|
|
|
|
cursorword_exclude_filetype = []
|
|
|
|
|
indentline_exclude_filetyps = []
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
if you want to disable `ui` layer, you can use:
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'ui'
|
|
|
|
|
enabled = fasle
|
|
|
|
|
<
|
2021-08-11 18:51:20 +08:00
|
|
|
|
OPTIONS
|
|
|
|
|
|
2021-09-08 10:35:38 +08:00
|
|
|
|
1. `enable_sidebar`: Enable/disable sidebar.
|
|
|
|
|
2. `enable_scrollbar`: Enable/disable floating scrollbar of current buffer.
|
2021-08-11 18:51:20 +08:00
|
|
|
|
Disabled by default. This feature requires neovim's floating window.
|
2021-09-08 10:35:38 +08:00
|
|
|
|
3. `enable_indentline`: Enable/disable indentline of current buffer.
|
2021-08-11 18:51:20 +08:00
|
|
|
|
Enabled by default.
|
2021-09-08 10:35:38 +08:00
|
|
|
|
4. `enable_cursorword`: Enable/disable cursorword highlighting.
|
2021-08-11 18:51:20 +08:00
|
|
|
|
Disabled by default.
|
2021-09-08 10:35:38 +08:00
|
|
|
|
5. `indentline_char`: Set the character of indentline.
|
|
|
|
|
6. `conceallevel`: set the conceallevel option.
|
|
|
|
|
7. `concealcursor`: set the concealcursor option.
|
|
|
|
|
8. `cursorword_delay`: The delay duration in milliseconds for setting the
|
2021-08-11 18:51:20 +08:00
|
|
|
|
word highlight after cursor motions, the default is 50.
|
2021-09-08 10:35:38 +08:00
|
|
|
|
9. `cursorword_exclude_filetypes`: Ignore filetypes when enable cursorword
|
2021-08-11 18:51:20 +08:00
|
|
|
|
highlighting.
|
2021-09-08 10:35:38 +08:00
|
|
|
|
10. `indentline_exclude_filetyps`: Ignore filetypes when enable indentline.
|
2021-08-11 18:51:20 +08:00
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
Key binding Description
|
|
|
|
|
SPC t h ui current buffer or selection lines
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-09-20 22:07:27 +08:00
|
|
|
|
==============================================================================
|
2021-09-20 22:16:14 +08:00
|
|
|
|
UNITE *SpaceVim-layers-unite*
|
2021-09-20 22:07:27 +08:00
|
|
|
|
|
|
|
|
|
This layer provides fuzzy finder feature which is based on |unite|. This layer
|
|
|
|
|
is not loaded by default, to use this layer, you need to load `unite` layer in
|
|
|
|
|
your configuration file.
|
|
|
|
|
>
|
|
|
|
|
[[layers]]
|
|
|
|
|
name = 'unite'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
KEY BINDINGS
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
| Key bindings | Discription |
|
|
|
|
|
| -------------------- | ----------------------------- |
|
|
|
|
|
| `<Leader> f <Space>` | Fuzzy find menu:CustomKeyMaps |
|
|
|
|
|
| `<Leader> f e` | Fuzzy find register |
|
|
|
|
|
| `<Leader> f h` | Fuzzy find history/yank |
|
|
|
|
|
| `<Leader> f j` | Fuzzy find jump, change |
|
|
|
|
|
| `<Leader> f l` | Fuzzy find location list |
|
|
|
|
|
| `<Leader> f m` | Fuzzy find output messages |
|
|
|
|
|
| `<Leader> f o` | Fuzzy find outline |
|
|
|
|
|
| `<Leader> f q` | Fuzzy find quick fix |
|
|
|
|
|
| `<Leader> f r` | Resumes Unite window |
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
USAGE *SpaceVim-usage*
|
|
|
|
|
|
|
|
|
|
General guide for using SpaceVim. Including layer configuration, bootstrap
|
|
|
|
|
function.
|
|
|
|
|
|
2021-05-07 19:29:32 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
BUFFERS-AND-FILES *SpaceVim-usage-buffers-and-files*
|
|
|
|
|
|
|
|
|
|
BUFFERS MANIPULATION KEY BINDINGS
|
|
|
|
|
All buffers key bindings are start with `b` prefix:
|
|
|
|
|
>
|
|
|
|
|
Key Bindings Descriptions
|
|
|
|
|
SPC <Tab> switch to alternate buffer in the current window (switch
|
|
|
|
|
back and forth)
|
|
|
|
|
SPC b . buffer transient state
|
|
|
|
|
SPC b b switch to a buffer (via denite/unite)
|
|
|
|
|
SPC b d kill the current buffer (does not delete the visited
|
|
|
|
|
file)
|
|
|
|
|
SPC u SPC b d kill the current buffer and window (does not delete the
|
|
|
|
|
visited file) (TODO)
|
|
|
|
|
SPC b D kill a visible buffer using vim-choosewin
|
|
|
|
|
<
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
CUSTOM_PLUGINS *SpaceVim-usage-custom_plugins*
|
|
|
|
|
|
|
|
|
|
Add custom plugins.
|
|
|
|
|
>
|
|
|
|
|
[[custom_plugins]]
|
|
|
|
|
repo = 'vimwiki/vimwiki'
|
|
|
|
|
merged = false
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
REPL *SpaceVim-usage-repl*
|
|
|
|
|
|
|
|
|
|
In language layer, REPL key bindings has been added. To start a REPL process,
|
|
|
|
|
the default key binding is `SPC l s i` . Key bindings for sending code to REPL
|
|
|
|
|
process only support following types: `line`, `selection` and `buffer` . All
|
|
|
|
|
of the key binding is mapped to function `SpaceVim#plugins#repl#send`. The
|
|
|
|
|
first argument is {type}. To send raw string, use `raw` as type, for example:
|
|
|
|
|
>
|
|
|
|
|
call SpaceVim#plugins#repl#send('raw', 'print("hello world!")')
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
TASKS *SpaceVim-usage-tasks*
|
|
|
|
|
|
|
|
|
|
general guide for tasks manager in SpaceVim.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
API *SpaceVim-api*
|
|
|
|
|
|
|
|
|
|
SpaceVim contains a variety of public apis. To using the api, you need to make
|
|
|
|
|
sure SpaceVim has been added to your &rtp. after that, you can use
|
|
|
|
|
|SpaceVim#api#import| to import the API you need.
|
|
|
|
|
|
|
|
|
|
USAGE
|
|
|
|
|
|
|
|
|
|
This is just an example, and it works well in old version vim.
|
|
|
|
|
>
|
|
|
|
|
let s:json = SpaceVim#api#import('data#json')
|
|
|
|
|
let rst = s:json.json_encode(onject)
|
|
|
|
|
let rst = s:json.json_decode(string)
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
here is list of resources where SpaceVim comes from:
|
|
|
|
|
|
|
|
|
|
vital: https://github.com/vim-jp/vital.vim
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
CMDLINEMENU *SpaceVim-api-cmdlinemenu*
|
|
|
|
|
|
|
|
|
|
menu({items})
|
|
|
|
|
|
|
|
|
|
Create a cmdline selection menu from a list of {items}, each item should be a
|
|
|
|
|
list of two value in it, first one is the description, and the next one should
|
|
|
|
|
be a funcrc.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
DATA#DICT *SpaceVim-api-data-dict*
|
|
|
|
|
|
|
|
|
|
provides some functions to manipulate a dict.
|
|
|
|
|
|
|
|
|
|
make({keys}, {values}[, {fill}])
|
|
|
|
|
|
|
|
|
|
make a dictionary from two list, the {keys} and {values}.
|
|
|
|
|
|
|
|
|
|
swap({dict})
|
|
|
|
|
|
|
|
|
|
swap the keys and values in a dictionary.
|
|
|
|
|
|
|
|
|
|
make_index
|
|
|
|
|
|
|
|
|
|
make a dictionary from a list, use
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
DATA#LIST *SpaceVim-api-data-list*
|
|
|
|
|
|
|
|
|
|
provides some functions to manipulate a list.
|
|
|
|
|
|
|
|
|
|
pop({list})
|
|
|
|
|
|
|
|
|
|
Removes the last element from {list} and returns the element, as if the
|
|
|
|
|
{list} is a stack.
|
|
|
|
|
|
|
|
|
|
push({list})
|
|
|
|
|
|
|
|
|
|
Appends {val} to the end of {list} and returns the list itself, as if the
|
|
|
|
|
{list} is a stack.
|
|
|
|
|
|
|
|
|
|
listpart({list}, {start}[, {len}])
|
|
|
|
|
|
|
|
|
|
The result is a List, which is part of {list}, starting from index {start},
|
|
|
|
|
with the length {len}
|
|
|
|
|
|
|
|
|
|
replace(list, begin, end, re_list)
|
|
|
|
|
|
|
|
|
|
replace {list} from {begin} to {end} with {re_list}
|
|
|
|
|
|
|
|
|
|
shift({list})
|
|
|
|
|
|
|
|
|
|
remove first item in a {list}, and return the item
|
|
|
|
|
|
|
|
|
|
unshift({list})
|
|
|
|
|
|
|
|
|
|
insert an item to the begin of the {list}
|
|
|
|
|
|
|
|
|
|
clear({list})
|
|
|
|
|
|
|
|
|
|
clear items in the {list}
|
|
|
|
|
|
|
|
|
|
char_range({from}, {to})
|
|
|
|
|
|
|
|
|
|
return a characters list based on the ascii number range.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
DATA#NUMBER *SpaceVim-api-data-number*
|
|
|
|
|
|
|
|
|
|
data#number API provides some basic functions to generate number.
|
|
|
|
|
|
|
|
|
|
random([{a}[, {b}]])
|
|
|
|
|
>
|
|
|
|
|
random() : an unbounded random integer number.
|
|
|
|
|
random(a) : an unbounded random number larger than a.
|
|
|
|
|
random(a, b) : a random number from [a, a + b - 1].
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
DATA#STRING *SpaceVim-api-data-string*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FUNCTIONS
|
|
|
|
|
|
|
|
|
|
split(str [, sep [, keepempty[, max]]])
|
|
|
|
|
|
|
|
|
|
run vim command, and return the output of such command.
|
|
|
|
|
|
|
|
|
|
trim(str)
|
|
|
|
|
|
|
|
|
|
remove space at the begin and end of a string, same as |trim()|
|
|
|
|
|
|
|
|
|
|
fill(str, length[, char])
|
|
|
|
|
|
|
|
|
|
fill string to length with {char}, if {char} is omnit, a space is used.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
JOB *SpaceVim-api-job*
|
|
|
|
|
|
|
|
|
|
provides some functions to manager job
|
|
|
|
|
|
|
|
|
|
start({cmd}[, {opt}])
|
|
|
|
|
|
|
|
|
|
spawns {cmd} as a job. {opts} is a dictionary with these keys:
|
|
|
|
|
|
|
|
|
|
on_stdout: stdout event handler (function name or Funcref)
|
|
|
|
|
|
|
|
|
|
on_stderr: stderr event handler (function name or Funcref)
|
|
|
|
|
|
|
|
|
|
on_exit: exit event handler (function name or Funcref)
|
|
|
|
|
|
|
|
|
|
cwd: working directory of the job; defaults to current directory
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
LOGGER *SpaceVim-api-logger*
|
|
|
|
|
|
|
|
|
|
provides some functions to manager logger
|
|
|
|
|
|
|
|
|
|
set_silent({silent})
|
|
|
|
|
|
|
|
|
|
{silent} is a Boolean. by default it is false, and log will be print to
|
|
|
|
|
screen.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
PASSWORD *SpaceVim-api-password*
|
|
|
|
|
|
|
|
|
|
provides some functions to generate password
|
|
|
|
|
|
|
|
|
|
generate_simple({len})
|
|
|
|
|
|
|
|
|
|
generate simple password
|
|
|
|
|
|
|
|
|
|
generate_strong({len})
|
|
|
|
|
|
|
|
|
|
generate strong password
|
|
|
|
|
|
|
|
|
|
generate_paranoid({len})
|
|
|
|
|
|
|
|
|
|
generate paranoid password
|
|
|
|
|
|
|
|
|
|
generate_numeric({len})
|
|
|
|
|
|
|
|
|
|
generate numeric password
|
|
|
|
|
|
|
|
|
|
generate_phonetic({len})
|
|
|
|
|
|
|
|
|
|
generate phonetic password
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
PROMPT *SpaceVim-api-prompt*
|
|
|
|
|
|
|
|
|
|
open()
|
|
|
|
|
|
|
|
|
|
Create a cmdline prompt, use while loop to get the input from user. The
|
|
|
|
|
default mapping for prompt is:
|
|
|
|
|
>
|
|
|
|
|
<Bs> remove last character
|
|
|
|
|
<C-w> remove the Word before the cursor
|
|
|
|
|
<C-u> remove the Line before the cursor
|
|
|
|
|
<C-k> remove the Line after the cursor
|
|
|
|
|
<C-a> / <Home> Go to the beginning of the line
|
|
|
|
|
<C-e> / <End> Go to the end of the line
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
SID *SpaceVim-api-vim-sid*
|
|
|
|
|
|
|
|
|
|
" Capture command
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
SYSTEM *SpaceVim-api-system*
|
|
|
|
|
|
|
|
|
|
name()
|
|
|
|
|
|
|
|
|
|
Return the name of current os, availibel value is: linux, cygwin, windows and
|
|
|
|
|
mac.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
UNICODE#BOX *SpaceVim-api-unicode-box*
|
|
|
|
|
|
|
|
|
|
provides some functions to draw box and table.
|
|
|
|
|
|
|
|
|
|
drawing_table({json}[, {keys}])
|
|
|
|
|
|
|
|
|
|
drawing table with json data.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
VIM#BUFFER *SpaceVim-api-vim-buffer*
|
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
vim#buffer API provides some basic functions for setting and getting config of
|
|
|
|
|
vim buffer.
|
|
|
|
|
|
|
|
|
|
FUNCTIONS
|
|
|
|
|
|
|
|
|
|
is_cmdwin()
|
|
|
|
|
|
|
|
|
|
Check if current windows is command line windows.
|
|
|
|
|
|
|
|
|
|
open(opt)
|
|
|
|
|
|
|
|
|
|
Open a new buffer with specifice options, return the buffer number, the {opt}
|
|
|
|
|
is a dict with following keys:
|
|
|
|
|
|
|
|
|
|
bufname : the buffer name of the new buffer
|
|
|
|
|
|
|
|
|
|
mode: how to open the new buffer, default is vertical topleft split
|
|
|
|
|
|
|
|
|
|
initfunc: the function which will be call after creating buffer
|
|
|
|
|
|
|
|
|
|
cmd: the ex command which will be run after the new buffer is created
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
VIM#BUFFER *SpaceVim-api-vim-window*
|
|
|
|
|
|
|
|
|
|
INTRO
|
|
|
|
|
|
|
|
|
|
`vim#window` API provides some basic functions for setting and getting config
|
|
|
|
|
of vim window.
|
|
|
|
|
|
|
|
|
|
FUNCTIONS
|
|
|
|
|
|
|
|
|
|
get_cursor({winid})
|
|
|
|
|
|
|
|
|
|
Gets the cursor position in the window {winid}, to get the ID of a window,
|
|
|
|
|
checkout |window-ID|.
|
|
|
|
|
|
|
|
|
|
set_cursor({winid}, {pos})
|
|
|
|
|
|
|
|
|
|
Sets the cursor position to {pos} in the window {winid}.
|
|
|
|
|
|
|
|
|
|
is_float({winnr})
|
|
|
|
|
|
|
|
|
|
Check if the window is a floating windows, return `v:true` if the window
|
|
|
|
|
is a floating window.
|
|
|
|
|
|
|
|
|
|
winexists({winid})
|
|
|
|
|
|
|
|
|
|
Check if the window with {winid} exists in current tabpage.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
VIM#COMMAND *SpaceVim-api-vim-command*
|
|
|
|
|
|
|
|
|
|
This api is for creating complete function for custom vim command. This is
|
|
|
|
|
example for create complete function for command TEST
|
|
|
|
|
>
|
|
|
|
|
let s:CMD = SpaceVim#api#import('vim#command')
|
|
|
|
|
let s:CMD.options = {
|
|
|
|
|
\ '-f' : {
|
|
|
|
|
\ 'description' : '',
|
|
|
|
|
\ 'complete' : ['text'],
|
|
|
|
|
\ },
|
|
|
|
|
\ '-d' : {
|
|
|
|
|
\ 'description' : 'Root directory for sources',
|
|
|
|
|
\ 'complete' : 'file',
|
|
|
|
|
\ },
|
|
|
|
|
\ }
|
|
|
|
|
function! CompleteTest(a, b, c)
|
|
|
|
|
return s:CMD.complete(a:a, a:b, a:c)
|
|
|
|
|
endfunction
|
|
|
|
|
function! Test(...)
|
|
|
|
|
endfunction
|
|
|
|
|
command! -nargs=* -complete=custom,CompleteTest TEST :call Test(<f-args>)
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
VIM#COMPATIBLE *SpaceVim-api-vim-compatible*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FUNCTIONS
|
|
|
|
|
|
|
|
|
|
execute(cmd)
|
|
|
|
|
|
|
|
|
|
run vim command, and return the output of such command.
|
|
|
|
|
|
|
|
|
|
system(cmd)
|
|
|
|
|
|
|
|
|
|
like |system()| but can accept list as argv.
|
|
|
|
|
|
|
|
|
|
systemlist(cmd)
|
|
|
|
|
|
|
|
|
|
like |systemlist()| but can accept list as argv.
|
|
|
|
|
|
|
|
|
|
has(feature)
|
|
|
|
|
|
|
|
|
|
check if {feature} is supported in current version.
|
|
|
|
|
|
|
|
|
|
getjumplist()
|
|
|
|
|
|
|
|
|
|
return a list of jump position, like result of |:jump|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
VIM#MESSAGE *SpaceVim-api-vim-message*
|
|
|
|
|
|
|
|
|
|
`vim#message` API provide functions for generating colored message in vim's
|
|
|
|
|
command line.
|
|
|
|
|
|
|
|
|
|
echo({hi}, {msg})
|
|
|
|
|
|
|
|
|
|
print message with {hi} highlight group.
|
|
|
|
|
|
2021-09-28 23:37:52 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
DEVELOPMENT *SpaceVim-dev*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SpaceVim is a joint effort of all contributors. We encourage you to
|
|
|
|
|
participate in SpaceVim's development. We have some guidelines that we need
|
|
|
|
|
all contributors to follow.
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
COMMIT-STYLE-GUIDE *SpaceVim-dev-commit-style-guide*
|
|
|
|
|
|
|
|
|
|
A git commit message consists a three distinct parts separated by black line.
|
|
|
|
|
>
|
|
|
|
|
Type (scope): Subject
|
|
|
|
|
|
|
|
|
|
body
|
|
|
|
|
|
|
|
|
|
footer
|
|
|
|
|
<
|
|
|
|
|
types:
|
|
|
|
|
|
|
|
|
|
`feat`: a new feature
|
|
|
|
|
`fix`: a bug fix
|
|
|
|
|
`change`: no backward compatible changes
|
|
|
|
|
`docs`: changes to documentation
|
|
|
|
|
`style`: formatting, missing semi colons, etc; no code change
|
|
|
|
|
`refactor`: refactoring production code
|
|
|
|
|
`test`: adding tests, refactoring test; no production code change
|
|
|
|
|
`chore`: updating build tasks, package manager configs, etc; no production
|
|
|
|
|
code change
|
|
|
|
|
|
|
|
|
|
scopes:
|
|
|
|
|
|
|
|
|
|
`api`: files in `autoload/SpaceVim/api/` and `docs/api/` directory
|
|
|
|
|
`layer`: files in `autoload/SpaceVim/layers/` and `docs/layers/` directory
|
|
|
|
|
`plugin`: files in `autoload/SpaceVim/plugins/` directory
|
|
|
|
|
`bundle`: files in `bundle/` directory
|
|
|
|
|
`core`: other files in this repository
|
|
|
|
|
|
|
|
|
|
subject:
|
|
|
|
|
|
|
|
|
|
Subjects should be no greater than 50 characters, should begin with a capital
|
|
|
|
|
letter and do not end with a period.
|
|
|
|
|
|
|
|
|
|
Use an imperative tone to describe what a commit does, rather than what it
|
|
|
|
|
did. For example, use change; not changed or changes.
|
|
|
|
|
|
|
|
|
|
body:
|
|
|
|
|
|
|
|
|
|
Not all commits are complex enough to warrant a body, therefore it is optional
|
|
|
|
|
and only used when a commit requires a bit of explanation and context.
|
|
|
|
|
|
|
|
|
|
footer:
|
|
|
|
|
|
|
|
|
|
The footer is optional and is used to reference issue tracker IDs.
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
==============================================================================
|
|
|
|
|
FAQ *SpaceVim-faq*
|
|
|
|
|
|
|
|
|
|
This is a list of the frequently asked questions about SpaceVim.
|
|
|
|
|
|
|
|
|
|
1. How do I enable YouCompleteMe?
|
|
|
|
|
|
|
|
|
|
Step 1: Add `enable_ycm = true` to custom_config. By default it should be
|
|
|
|
|
`~/.SpaceVim.d/init.toml`.
|
|
|
|
|
|
|
|
|
|
Step 2: Get into the directory of YouCompleteMe's author. By default it
|
|
|
|
|
should be `~/.cache/vimfiles/repos/github.com/Valloric/`. If you find the
|
|
|
|
|
directory `YouCompleteMe` in it, go into it. Otherwise clone YouCompleteMe
|
|
|
|
|
repo by `git clone https://github.com/Valloric/YouCompleteMe.git`. After
|
|
|
|
|
cloning, get into it and run `git submodule update --init --recursive`.
|
|
|
|
|
|
|
|
|
|
Step 3: Compile YouCompleteMe with the features you want. If you just want
|
|
|
|
|
C family support, run `./install.py --clang-completer`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2. How to add custom snippet?
|
|
|
|
|
|
|
|
|
|
SpaceVim uses neosnippet as the default snippet engine. This can be changed
|
|
|
|
|
by |SpaceVim-options-snippet_engine| option.
|
|
|
|
|
|
|
|
|
|
If you want to add a snippet for a current filetype, run |:NeoSnippetEdit|
|
|
|
|
|
command. A buffer will be opened and you can add your custom snippet. By
|
|
|
|
|
default this buffer will be save in `~/.SpaceVim.d/snippets`.
|
|
|
|
|
|
|
|
|
|
For more info about how to write snippet, please read
|
|
|
|
|
|neosnippet-snippet-syntax|.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3. Where is `<c-f>` in cmdline-mode?
|
|
|
|
|
|
|
|
|
|
`<c-f>` is the default value of |cedit| option, but in SpaceVim we use that
|
|
|
|
|
binding as `<Right>`, so maybe you can change the `cedit` option or use
|
|
|
|
|
`<leader>+<c-f>`.
|
|
|
|
|
|
|
|
|
|
4. How to use `<Space>` as `<Leader>`?
|
|
|
|
|
|
|
|
|
|
Add `let g:mapleader = "\<Space>"` to bootstrap function.
|
|
|
|
|
|
|
|
|
|
5. Why does Vim freeze after pressing Ctrl-s?
|
|
|
|
|
|
|
|
|
|
This is a feature of terminal emulators. You can use `Ctrl-q` to unfreeze
|
|
|
|
|
Vim. To disable this feature you need the following in either
|
|
|
|
|
`~/.bash_profile` or `~/.bashrc`:
|
|
|
|
|
>
|
|
|
|
|
stty -ixon
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
6. How to enable `+py` and `+py3` in Neovim?
|
|
|
|
|
|
|
|
|
|
In Neovim we can use `g:python_host_prog` and `g:python3_host_prog` to
|
|
|
|
|
config python prog. But in SpaceVim the custom configuration file is loaded
|
|
|
|
|
after SpaceVim core code. So in SpaceVim itself, if we using `:py` command,
|
|
|
|
|
it may cause errors.
|
|
|
|
|
|
|
|
|
|
So we introduce two new environment variables: `PYTHON_HOST_PROG` and
|
|
|
|
|
`PYTHON3_HOST_PROG`.
|
|
|
|
|
|
|
|
|
|
For example:
|
|
|
|
|
>
|
|
|
|
|
export PYTHON_HOST_PROG='/home/q/envs/neovim2/bin/python'
|
|
|
|
|
export PYTHON3_HOST_PROG='/home/q/envs/neovim3/bin/python'
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
CHANGELOG *SpaceVim-changelog*
|
|
|
|
|
|
2021-09-19 22:06:14 +08:00
|
|
|
|
Following HEAD: changes in master branch since last release v1.7.0
|
2021-02-11 21:57:11 +08:00
|
|
|
|
|
|
|
|
|
https://github.com/SpaceVim/SpaceVim/wiki/Following-HEAD
|
|
|
|
|
|
2021-09-19 22:06:14 +08:00
|
|
|
|
2021-06-16: v1.4.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v1.7.0/
|
|
|
|
|
|
|
|
|
|
2020-12-31: v1.6.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v1.6.0/
|
|
|
|
|
|
|
|
|
|
2020-08-01: v1.5.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v1.5.0/
|
|
|
|
|
|
2021-02-11 21:57:11 +08:00
|
|
|
|
2020-04-05: v1.4.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v1.4.0/
|
|
|
|
|
|
|
|
|
|
2019-11-04: v1.3.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v1.3.0/
|
|
|
|
|
|
|
|
|
|
2019-07-17: v1.2.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v1.2.0/
|
|
|
|
|
|
|
|
|
|
2019-04-08: v1.1.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v1.1.0/
|
|
|
|
|
|
|
|
|
|
2018-12-25: v1.0.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v1.0.0/
|
|
|
|
|
|
|
|
|
|
2018-09-26: v0.9.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v0.9.0/
|
|
|
|
|
|
|
|
|
|
2018-06-18: v0.8.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v0.8.0/
|
|
|
|
|
|
|
|
|
|
2018-03-18: v0.7.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v0.7.0/
|
|
|
|
|
|
|
|
|
|
2017-12-30: v0.6.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v0.6.0/
|
|
|
|
|
|
|
|
|
|
2017-11-06: v0.5.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v0.5.0/
|
|
|
|
|
|
|
|
|
|
2017-08-05: v0.4.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v0.4.0/
|
|
|
|
|
|
|
|
|
|
2017-06-27: v0.3.1
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v0.3.1/
|
|
|
|
|
|
|
|
|
|
2017-05-31: v0.3.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v0.3.0/
|
|
|
|
|
|
|
|
|
|
2017-03-30: v0.2.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v0.2.0/
|
|
|
|
|
|
|
|
|
|
2017-01-26: v0.1.0
|
|
|
|
|
|
|
|
|
|
https://spacevim.org/SpaceVim-release-v0.1.0/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vim:tw=78:ts=8:ft=help:norl:
|