-
Notifications
You must be signed in to change notification settings - Fork 132
/
init.toml
233 lines (219 loc) · 5.51 KB
/
init.toml
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
#============================================================================
# init.vim --- My SpaceVim config
# Copyright (c) 2016-2017 Wang Shidong & Contributors
# Author: Wang Shidong < wsdjeg at 163.com >
# URL: https://spacevim.org
#=============================================================================
# SpaceVim options {{{
[options]
enable_statusline_mode = true
enable_tabline_filetype_icon = true
enable_os_fileformat_icon = true
statusline_unicode_symbols = true
# default_custom_leader = 'Q'
statusline_separator='arrow'
statusline_iseparator='arrow'
leader_guide_theme = 'whichkey'
autocomplete_method = 'nvim-cmp'
buffer_index_type = 0
enable_guicolors = true
default_indent = 2
debug_level = 0
if_ruby = false
enable_key_frequency = 1
filemanager = "defx"
filetree_direction = "right"
# enable_ycm = 1
# snippet_engine = "ultisnips"
line_on_the_fly = false
enable_filetree_gitstatus = true
src_root = 'D:\repos'
# default_custom_leader = "e"
realtime_leader_guide = 1
windows_index_type = 3
github_username = 'wsdjeg'
auto_disable_touchpad = 0
file_searching_tools = ['fd', 'fd']
colorscheme = 'one'
checkinstall = false
guifont = 'SauceCodePro Nerd Font Propo:h14:cANSI:qDRAFT'
# guifont = 'SauceCodePro Nerd Font Mono:h12:cANSI:qDRAFT'
# guifont = 'DejaVuSansMono NF:h12:cANSI:qDRAFT'
# guifont = 'Hasklug NF:h12:cANSI:qDRAFT'
enable_tabline_filetype_icon = true
bootstrap_before = "myspacevim#before"
bootstrap_after = "myspacevim#after"
search_tools = ["rg", "pt", "ack", "grep", "findstr"]
# autocomplete_method = "coc"
commandline_prompt = '>'
# vimcompatible = true
# enable_language_specific_leader = false
enable_statusline_tag = false
project_rooter_outermost = false
# disabled_plugins = ["startify", 'deoplete-dictionary']
relativenumber = false
statusline_right_sections = [
'fileformat',
'percentage'
]
todo_prefix = '@'
todo_labels = ['bug', 'question', 'fixme', 'todo']
todo_close_list = false
project_non_root = ''
bootstrap_script = '''
let g:fuck_s = 1
let g:fuck_f = 2
'''
# }}}
# SpaceVim layer config {{{
[[layers]]
name = 'core'
enable_filetree_gitstatus = true
enable_filetree_filetypeicon = true
# enable_netrw = true
[[layers]]
name = 'checkers'
lint_on_the_fly = true
lint_on_save = true
[[layers]]
name = 'edit'
autosave_timeout = 300000
# autosave_events = ['InsertLeave', 'TextChanged']
# autosave_all_buffers = true
enable_hop = true
[[layers]]
name = 'ui'
enable_scrollbar = true
enable_indentline = true
indentline_char = '│'
# filetree_show_hidden = true
cursorword_delay = 200
cursorword_exclude_filetype = ['markdown']
indentline_exclude_filetyps = ['startify', 'help']
[[layers]]
name = 'lang#vim'
[[layers]]
name = 'lang#scheme'
[[layers]]
name = 'lang#sql'
enabled_formater = ['sqlformat']
sql_formatter_command = 'sql-formatter.CMD'
sql_dialect = 'sql'
sql_formatter_config = ''
sqlformat_cmd = 'c:\users\wsdjeg\appdata\roaming\python\python310\scripts\sqlformat.exe'
sqlformat_output_encode = 'cp936'
# python
[[layers]]
name = 'lang#python'
python_file_head = [
'# -*- coding: utf-8 -*-',
'# Author: xxx',
'# Mail: xxx@xx'
'# Created Time: `strftime("%a %b %d")`'
''
]
[[layers]]
name = 'telescope'
enable = 'has("nvim")'
[[layers]]
name = 'leaderf'
enable = '!has("nvim") && has("python")'
[[layers]]
name = 'fzf'
enable = '!has("nvim") && !has("python")'
[[layers]]
name = 'format'
format_method = 'format.nvim'
[[layers]]
name = 'github'
[[layers]]
name = 'git'
[[layers]]
name = 'cscope'
[[layers]]
name = 'tools'
bookmarks_sign_text = '⚑'
bookmarks_sign_highlight = 'Normal'
[[layers]]
name = 'VersionControl'
[[layers]]
name = 'lang#vim'
auto_generate_doc = true
[[layers]]
name = 'lang#java'
[[layers]]
name = 'lang#lua'
[[layers]]
name = 'lang#c'
[[layers]]
name = 'lang#sh'
bash-file-head = [
'#!/usr/bin/env bash',
'# Time: `strftime("%Y-%m-%d %T")`',
''
]
[[layers]]
name = 'lang#toml'
[[layers]]
name = 'lang#clojure'
[[layers]]
name = 'lang#julia'
[[layers]]
name = 'colorscheme'
[[layers]]
name = 'core#statusline'
enable = true
[[layers]]
name = 'core#tabline'
enable = true
[[layers]]
name = 'autocomplete'
auto-completion-delay = 10
auto-completion-return-key-behavior = "smart"
auto-completion-tab-key-behavior = "smart"
[[layers]]
name = 'lang#markdown'
enableWcwidth = 1
listItemIndent = 1
enabled_formater = ['prettier']
[[layers]]
name = 'shell'
default_position = 'center-float'
default_height = 35
[[layers]]
name = 'chat'
[[layers]]
name = 'tools#cpicker'
default_format = 'all'
[[layers]]
name = 'zettelkasten'
[[layers]]
name = 'foldsearch'
enable = true
[[layers]]
name = 'zettelkasten'
zettel_dir = 'D:\me\zettelkasten'
zettel_template_dir = 'D:\me\zettelkasten_template'
enable = true
[[layers]]
name = 'gtags'
enable = true
# ctags_bin = 'C:\Users\wsdjeg\.SpaceVim\bundle\phpcomplete.vim\bin\ctags.exe'
[[layers]]
name = 'lsp'
enabled_clients = ['vimls', 'clangd', 'jdtls', 'clojure_lsp', 'lua_ls', 'gopls']
filetypes = ['vim']
enable = true
[[layers]]
name = 'tools#mpv'
mpv_interpreter = 'D:\Program Files\mpv\mpv.exe'
musics_directory = 'E:\我的坚果云\音乐'
[[custom_plugins]]
repo = "NLKNguyen/papercolor-theme"
merged = false
[[custom_plugins]]
repo = "sainnhe/sonokai"
merged = false
[[custom_plugins]]
repo = 'dstein64/vim-startuptime'
merged = false