forked from SpaceVim/SpaceVim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpaceVim.txt
3583 lines (2754 loc) · 117 KB
/
SpaceVim.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
*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|
3. buffer_index_type................|SpaceVim-options-buffer_index_type|
4. checkinstall..........................|SpaceVim-options-checkinstall|
5. colorscheme............................|SpaceVim-options-colorscheme|
6. colorscheme_bg......................|SpaceVim-options-colorscheme_bg|
7. data_dir..................................|SpaceVim-options-data_dir|
8. default_indent......................|SpaceVim-options-default_indent|
9. enable_ale..............................|SpaceVim-options-enable_ale|
10. enable_bepo_layout.............|SpaceVim-options-enable_bepo_layout|
11. enable_cursorcolumn...........|SpaceVim-options-enable_cursorcolumn|
12. enable_cursorline...............|SpaceVim-options-enable_cursorline|
13. enable_debug.........................|SpaceVim-options-enable_debug|
14. enable_googlesuggest.........|SpaceVim-options-enable_googlesuggest|
15. enable_guicolors.................|SpaceVim-options-enable_guicolors|
16. enable_insert_leader.........|SpaceVim-options-enable_insert_leader|
17. enable_key_frequency.........|SpaceVim-options-enable_key_frequency|
18. enable_neomake.....................|SpaceVim-options-enable_neomake|
19. enable_statusline_bfpath.|SpaceVim-options-enable_statusline_bfpath|
20. enable_statusline_mode.....|SpaceVim-options-enable_statusline_mode|
21. enable_statusline_tag.......|SpaceVim-options-enable_statusline_tag|
22. enable_tabline_ft_icon.....|SpaceVim-options-enable_tabline_ft_icon|
23. enable_vimfiler_welcome...|SpaceVim-options-enable_vimfiler_welcome|
24. enable_ycm.............................|SpaceVim-options-enable_ycm|
25. error_symbol.........................|SpaceVim-options-error_symbol|
26. filemanager...........................|SpaceVim-options-filemanager|
27. filetree_direction.............|SpaceVim-options-filetree_direction|
28. guifont...................................|SpaceVim-options-guifont|
29. home_files_number...............|SpaceVim-options-home_files_number|
30. info_symbol...........................|SpaceVim-options-info_symbol|
31. keep_server_alive...............|SpaceVim-options-keep_server_alive|
32. language.................................|SpaceVim-options-language|
33. lint_on_the_fly...................|SpaceVim-options-lint_on_the_fly|
34. max_column.............................|SpaceVim-options-max_column|
35. plugin_bundle_dir...............|SpaceVim-options-plugin_bundle_dir|
36. plugin_manager_processes.|SpaceVim-options-plugin_manager_processes|
37. realtime_leader_guide.......|SpaceVim-options-realtime_leader_guide|
38. relativenumber.....................|SpaceVim-options-relativenumber|
39. retry_cnt...............................|SpaceVim-options-retry_cnt|
40. sidebar_width.......................|SpaceVim-options-sidebar_width|
41. snippet_engine.....................|SpaceVim-options-snippet_engine|
42. statusline_iseparator.......|SpaceVim-options-statusline_iseparator|
43. statusline_left_sections.|SpaceVim-options-statusline_left_sections|
44. statusline_separator.........|SpaceVim-options-statusline_separator|
45. terminal_cursor_shape.......|SpaceVim-options-terminal_cursor_shape|
46. vim_help_language...............|SpaceVim-options-vim_help_language|
47. vimcompatible.......................|SpaceVim-options-vimcompatible|
48. warning_symbol.....................|SpaceVim-options-warning_symbol|
49. windows_index_type.............|SpaceVim-options-windows_index_type|
50. windows_leader.....................|SpaceVim-options-windows_leader|
51. windows_smartclose.............|SpaceVim-options-windows_smartclose|
3. Configuration...........................................|SpaceVim-config|
4. Commands..............................................|SpaceVim-commands|
5. Functions............................................|SpaceVim-functions|
6. Layers..................................................|SpaceVim-layers|
1. autocomplete..................................|SpaceVim-autocomplete|
2. checkers....................................|SpaceVim-layer-checkers|
3. colorscheme....................................|SpaceVim-colorscheme|
4. core#statusline......................|SpaceVim-layer-core-statusline|
5. core#tabline............................|SpaceVim-layer-core-tabline|
6. exprfold....................................|SpaceVim-layer-exprfold|
7. format........................................|SpaceVim-layer-format|
8. github........................................|SpaceVim-layer-github|
9. incsearch..................................|SpaceVim-layer-incsearch|
10. indentmove...............................|SpaceVim-layer-indentmove|
11. lang#actionscript.................|SpaceVim-layer-lang-actionscript|
12. lang#agda.................................|SpaceVim-layer-lang-agda|
13. lang#asciidoc.........................|SpaceVim-layer-lang-asciidoc|
14. lang#asepctj...........................|SpaceVim-layer-lang-asepctj|
15. lang#batch...............................|SpaceVim-layer-lang-batch|
16. lang#c.......................................|SpaceVim-layer-lang-c|
17. lang#chapel.............................|SpaceVim-layer-lang-chapel|
18. lang#clojure...........................|SpaceVim-layer-lang-clojure|
19. lang#coffeescript.................|SpaceVim-layer-lang-coffeescript|
20. lang#crystal...........................|SpaceVim-layer-lang-crystal|
21. lang#csharp.............................|SpaceVim-layer-lang-csharp|
22. lang#d.......................................|SpaceVim-layer-lang-d|
23. lang#dart.................................|SpaceVim-layer-lang-dart|
24. lang#dockerfile.....................|SpaceVim-layer-lang-dockerfile|
25. lang#elixir.............................|SpaceVim-layer-lang-elixir|
26. lang#elm...................................|SpaceVim-layer-lang-elm|
27. lang#erlang.............................|SpaceVim-layer-lang-erlang|
28. lang#extra...............................|SpaceVim-layer-lang-extra|
29. lang#foxpro.............................|SpaceVim-layer-lang-foxpro|
30. lang#fsharp.............................|SpaceVim-layer-lang-fsharp|
31. lang#go.....................................|SpaceVim-layer-lang-go|
32. lang#goby.................................|SpaceVim-layer-lang-goby|
33. lang#gosu.................................|SpaceVim-layer-lang-gosu|
34. lang#graphql...........................|SpaceVim-layer-lang-graphql|
35. lang#groovy.............................|SpaceVim-layer-lang-groovy|
36. lang#hack.................................|SpaceVim-layer-lang-hack|
37. lang#haskell...........................|SpaceVim-layer-lang-haskell|
38. lang#html.................................|SpaceVim-layer-lang-html|
39. lang#hy.....................................|SpaceVim-layer-lang-hy|
40. lang#idris...............................|SpaceVim-layer-lang-idris|
41. lang#j.......................................|SpaceVim-layer-lang-j|
42. lang#janet...............................|SpaceVim-layer-lang-janet|
43. lang#java.................................|SpaceVim-layer-lang-java|
44. lang#javascript.....................|SpaceVim-layer-lang-javascript|
45. lang#json.................................|SpaceVim-layer-lang-json|
46. lang#julia...............................|SpaceVim-layer-lang-julia|
47. lang#kotlin.............................|SpaceVim-layer-lang-kotlin|
48. lang#livescript.....................|SpaceVim-layer-lang-livescript|
49. lang#lua...................................|SpaceVim-layer-lang-lua|
50. lang#nim...................................|SpaceVim-layer-lang-nim|
51. lang#nix...................................|SpaceVim-layer-lang-nix|
52. lang#ocaml...............................|SpaceVim-layer-lang-ocaml|
53. lang#pact.................................|SpaceVim-layer-lang-pact|
54. lang#php...................................|SpaceVim-layer-lang-php|
55. lang#pony.................................|SpaceVim-layer-lang-pony|
56. lang#processing.....................|SpaceVim-layer-lang-processing|
57. lang#prolog.............................|SpaceVim-layer-lang-prolog|
58. lang#puppet.............................|SpaceVim-layer-lang-puppet|
59. lang#python.............................|SpaceVim-layer-lang-python|
60. lang#racket.............................|SpaceVim-layer-lang-racket|
61. lang#ring.................................|SpaceVim-layer-lang-ring|
62. lang#ruby.................................|SpaceVim-layer-lang-ruby|
63. lang#rust.................................|SpaceVim-layer-lang-rust|
64. lang#scala...............................|SpaceVim-layer-lang-scala|
65. lang#scheme.............................|SpaceVim-layer-lang-scheme|
66. lang#sh.....................................|SpaceVim-layer-lang-sh|
67. lang#swig.................................|SpaceVim-layer-lang-swig|
68. lang#tcl...................................|SpaceVim-layer-lang-tcl|
69. lang#toml.................................|SpaceVim-layer-lang-toml|
70. lang#typescript.....................|SpaceVim-layer-lang-typescript|
71. lang#v.......................................|SpaceVim-layer-lang-v|
72. lang#vbnet...............................|SpaceVim-layer-lang-vbnet|
73. lang#xml...................................|SpaceVim-layer-lang-xml|
74. lang#xquery.............................|SpaceVim-layer-lang-xquery|
75. language server protocol........................|SpaceVim-layer-lsp|
76. operator...................................|SpaceVim-layer-operator|
77. shell.........................................|SpaceVim-layer-shell|
78. test...........................................|SpaceVim-layer-test|
79. tmux...........................................|SpaceVim-layer-tmux|
80. tools#dash...............................|SpaceVim-layer-tools-dash|
81. tools#zeal...............................|SpaceVim-layer-tools-zeal|
7. Usage....................................................|SpaceVim-usage|
1. custom_plugins........................|SpaceVim-usage-custom_plugins|
2. tasks..........................................|SpaceVim-usage-tasks|
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#string................................|SpaceVim-api-data-string|
5. job................................................|SpaceVim-api-job|
6. logger..........................................|SpaceVim-api-logger|
7. password......................................|SpaceVim-api-password|
8. prompt..........................................|SpaceVim-api-prompt|
9. sid............................................|SpaceVim-api-vim-sid|
10. system.........................................|SpaceVim-api-system|
11. vim#buffer.................................|SpaceVim-api-vim-buffer|
12. vim#buffer.................................|SpaceVim-api-vim-window|
13. vim#command...............................|SpaceVim-api-vim-command|
14. vim#compatible.........................|SpaceVim-api-vim-compatible|
15. vim#message...............................|SpaceVim-api-vim-message|
9. FAQ........................................................|SpaceVim-faq|
10. Changelog...........................................|SpaceVim-changelog|
==============================================================================
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
<
==============================================================================
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
<
==============================================================================
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_INDENT *SpaceVim-options-default_indent*
Change the default indentation of SpaceVim. Default is 2.
>
default_indent = 2
<
==============================================================================
ENABLE_ALE *SpaceVim-options-enable_ale*
Use ale for syntax checking, disabled by default.
>
enable_ale = true
<
==============================================================================
ENABLE_BEPO_LAYOUT *SpaceVim-options-enable_bepo_layout*
Enable/Disable bepo layout, by default it is disabled.
>
enable_bepo_layout = true
<
==============================================================================
ENABLE_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_INSERT_LEADER *SpaceVim-options-enable_insert_leader*
Enable/Disable spacevim's insert mode leader, default is enable
==============================================================================
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_NEOMAKE *SpaceVim-options-enable_neomake*
SpaceVim default checker is neomake. If you want to use syntastic, use:
>
enable_neomake = false
<
==============================================================================
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 = "+"
<
==============================================================================
FILEMANAGER *SpaceVim-options-filemanager*
The default file manager of SpaceVim. Default is 'vimfiler'. you can also use
nerdtree or defx
==============================================================================
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_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
==============================================================================
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
<
==============================================================================
SIDEBAR_WIDTH *SpaceVim-options-sidebar_width*
Set the width of the SpaceVim sidebar. Default is 30. This value will be used
by tagbar and vimfiler.
==============================================================================
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
==============================================================================
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.
*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_home_files_number*
Change the list number of files for SpaceVim home. Default is 6.
>
let g:spacevim_home_files_number = 6
<
*g:spacevim_enable_guicolors*
Enable true color support in terminal. Default is 0.
>
let g:spacevim_enable_guicolors = 1
<
*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_enable_insert_leader*
Enable/Disable spacevim's insert mode leader, default is enable
*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`.
>
let g:spacevim_plugin_bundle_dir = g:spacevim_data_dir.'/vimplugs'
<
*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_enable_neomake*
SpaceVim default checker is neomake. If you want to use syntastic, use:
>
let g:spacevim_enable_neomake = 0
<
*g:spacevim_enable_ale*
Use ale for syntax checking, disabled by default.
>
let g:spacevim_enable_ale = 1
<
*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
by tagbar and vimfiler.
*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'
\ ]
<
*g:spacevim_statusline_unicode_symbols*
Enable/Disable unicode symbols in statusline
*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*
The default file manager of SpaceVim. Default is 'vimfiler'. you can also use
nerdtree or defx
*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.