Skip to content

Instantly share code, notes, and snippets.

@DoctorRyner
Last active October 1, 2019 21:08
Show Gist options
  • Save DoctorRyner/b94f47ed33cd242aa106f15e4a5ae79f to your computer and use it in GitHub Desktop.
Save DoctorRyner/b94f47ed33cd242aa106f15e4a5ae79f to your computer and use it in GitHub Desktop.
SpaceVim Config
# ~/.SpaceVim.d/init.toml
# 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 = 'one'
colorscheme_bg = 'dark'
# Disable guicolors in basic mode, many terminal do not support 24bit
# true colors
enable_guicolors = true
# Disable statusline separator, if you want to use other value, please
# install nerd fonts
statusline_separator = 'arrow'
statusline_inactive_separator = 'arrow'
buffer_index_type = 4
enable_tabline_filetype_icon = true
enable_statusline_mode = true
automatic_update = 1
enable_vimfiler_gitstatus = true
filetree_direction = 'left'
autocomplete_method = 'coc'
# Enable autocomplete layer
[[layers]]
name = 'autocomplete'
auto-completion-return-key-behavior = 'nil'
auto-completion-tab-key-behavior = 'smart'
[[layers]]
name = 'shell'
default_position = 'bottom'
default_height = 30
[[layers]]
name = 'VersionControl'
[[layers]]
name = 'lsp'
filetypes = [ 'haskell' ]
# [layers.override_cmd]
# haskell = [ 'ghcide', '--lsp' ]
[[layers]]
name = 'tools'
[[layers]]
name = 'lang#haskell'
# [[custom_plugins]]
# name = 'wakatime/vim-wakatime'
# merged = 0
[[custom_plugins]]
name = 'alx741/vim-stylishask'
merged = 0
[[custom_plugins]]
name = 'lilydjwg/colorizer'
merged = 0
[[layers]]
name = 'colorscheme'
[[custom_plugins]]
name = 'LnL7/vim-nix'
merged = 0
" ~/.SpaceVim/init.vim
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/config/main.vim'
filetype plugin indent on
" 4 spaces config
set tabstop=4
set shiftwidth=4
set expandtab
" Copy to system clipboard by pressing ALT + C
map <A-c> "*y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment