From cb3a4dd9aaf6d217ad78109b9fcd896a1ed71097 Mon Sep 17 00:00:00 2001 From: zeekling Date: Sun, 13 Nov 2022 21:55:01 +0800 Subject: [PATCH] add spacevim config --- init.toml | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 init.toml diff --git a/init.toml b/init.toml new file mode 100644 index 0000000..8f845d7 --- /dev/null +++ b/init.toml @@ -0,0 +1,97 @@ +#============================================================================= +# dark_powered.toml --- dark powered configuration example for SpaceVim +# Copyright (c) 2016-2022 Wang Shidong & Contributors +# Author: Wang Shidong < wsdjeg@outlook.com > +# URL: https://spacevim.org +# License: GPLv3 +#============================================================================= + +# All SpaceVim option below [option] section +[colorschemeoptions] + # set spacevim theme. by default colorscheme layer is not loaded, + # if you want to use more colorscheme, please load the colorscheme + # layer + colorscheme = "SpaceVim" + # Disable guicolors in basic mode, many terminal do not support 24bit + colorscheme_bg = "light" + # true colors + enable_guicolors = true + # Disable statusline separator, if you want to use other value, please + # install nerd fonts + +# Enable autocomplete layer +[[layers]] +name = 'autocomplete' +auto_completion_return_key_behavior = "complete" +auto_completion_tab_key_behavior = "smart" +auto_completion_delay = 200 +auto_completion_complete_with_key_sequence = "nil" +auto_completion_complete_with_key_sequence_delay = 0.1 + +[[layers]] +name = "lang#python" + +[[layers]] +name = "format" + +[[layers]] +name = 'lang#c' +enable_clang_syntax_highlight = true + +[[layers]] + name = "lsp" + enabled_clients = ['clangd'] + filetypes = [ + "c", + "cpp" + ] + [layers.override_cmd] + c = ["clangd"] + +[[layers]] + name = "ui" + enable_scrollbar = true + enable_sidebar = false + +[[layers]] +name = 'shell' +default_position = 'top' +default_height = 30 + +[[layers]] +name = "incsearch" + +[[layers]] + name = "lang#markdown" + +[[layers]] + name = "git" + git_plugin = 'fugitive' + +[[layers]] + name = "lang#cmake" + +[[layers]] + name = "lang#java" + +[[layers]] + name = "lang#python" + +[[layers]] + name = "colorscheme" + +[[layers]] + name = "gtags" + gtagslabel = "pygments" + +[options] + # 文件树插件可选值包括: + # - nerdtree (默认) + # - vimfiler: 需要编译 vimproc.vim, 在目录 bundle/vimproc.vim 下 + # - defx: 需要 +py3 支持 + filemanager = "vimfiler" + enable_filetree_gitstatus = true + project_rooter_patterns = ['.git/', '_darcs/', '.hg/', '.bzr/', '.svn/'] + filetree_direction = "left" + colorscheme = "gruvbox" + colorscheme_bg = "dark" -- 2.45.2