Skip to content

Instantly share code, notes, and snippets.

@drslump73
Last active January 22, 2019 21:43
Show Gist options
  • Save drslump73/bece2110435f75e2bbfec85b285f66b9 to your computer and use it in GitHub Desktop.
Save drslump73/bece2110435f75e2bbfec85b285f66b9 to your computer and use it in GitHub Desktop.
spacevim config
# at .SpaceVim.d/autoload/config.vim
func! config#before() abort
let g:mapleader=','
set conceallevel=0
endf
func! config#after() abort
let g:mapleader=','
set conceallevel=0
endf
#=============================================================================
# basic.toml --- basic configuration example for SpaceVim
# Copyright (c) 2016-2017 Wang Shidong & Contributors
# Author: Wang Shidong < wsdjeg at 163.com >
# URL: https://spacevim.org
# License: GPLv3
#=============================================================================
# All SpaceVim option below [option] section
[options]
# set spacevim theme. by default colorscheme layer is not loaded,
# if you want to use more colorscheme, please load the colorscheme
# layer
colorscheme = "onedark"
background = "dark"
# Disable guicolors in basic mode, many terminal do not support 24bit
# true colors
enable_guicolors = false
# Disable statusline separator, if you want to use other value, please
# install nerd fonts
statusline_separator = "nil"
statusline_inactive_separator = "bar"
buffer_index_type = 4
windows_index_type = 3
enable_tabline_filetype_icon = false
enable_statusline_display_mode = false
statusline_unicode_symbols = false
# Enable vim compatible mode, avoid changing origin vim key bindings
vimcompatible = true
relativenumber = false
filemanager = "nerdtree"
vim_windows_leader = "w"
bootstrap_after = "config#after"
bootstrap_before = "config#before"
vim_json_syntax_conceal = false
statusline_separator = "arrow"
# Enable autocomplete layer
[[layers]]
name = 'autocomplete'
auto-completion-return-key-behavior = "complete"
auto-completion-tab-key-behavior = "cycle"
[[layers]]
name = 'shell'
default_position = 'top'
default_height = 30
[[layers]]
name = "colorscheme"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment