Skip to content

Instantly share code, notes, and snippets.

@yoonhoGo
Last active November 3, 2023 18:11
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save yoonhoGo/c1abb0b7d69b986e54140ac5fc7c9b60 to your computer and use it in GitHub Desktop.
Save yoonhoGo/c1abb0b7d69b986e54140ac5fc7c9b60 to your computer and use it in GitHub Desktop.
~/.SpaceVim.d/init.toml
#=============================================================================
# dark_powered.toml --- dark powered 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 = 'gruvbox' # 'onedark' # 'NeoSolarized'
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 = false
autocomplete_method = 'coc'
filetree_direction = 'left'
automatic_update = true
disabled_plugins = ['comfortable-motion.vim']
# Enable autocomplete layer
[[layers]]
name = 'autocomplete'
auto_completion_return_key_behavior = 'complete'
auto_completion_tab_key_behavior = 'smart'
[[layers]]
name = 'shell'
default_position = 'bottom'
default_height = 30
[[layers]]
name = 'colorscheme'
[[layers]]
# name = 'fzf'
name = 'denite'
[[layers]]
name = 'gtags'
[[layers]]
name = 'git'
[[layers]]
name = 'test'
[[layers]]
name = 'debug'
[[layers]]
name = 'lsp'
[[layers]]
name = 'tmux'
# Language Layers
[[layers]]
name = 'lang#javascript'
[[layers]]
name = 'lang#json'
[[layers]]
name = 'lang#typescript'
[[layers]]
name = 'lang#markdown'
[[layers]]
name = 'lang#dockerfile'
# Custom plugin
# [[custom_plugins]]
# name = 'yuttie/comfortable-motion.vim'
[[custom_plugins]]
name = 'ryanoasis/vim-devicons'
[[custom_plugins]]
name = 'pechorin/any-jump.vim'
curl -sLf https://spacevim.org/install.sh | bash -s -- --uninstall
rm -rf ~/.cache/{ctrlp/,neocomplete/,neomru/,neosnippet,neoyank,obexd,unite,vimfiles} ~/.SpaceVim ~/.vim
curl -sLf https://spacevim.org/install.sh | bash -s -- --install neovim
curl -sLf https://spacevim.org/install.sh | bash -s -- --uninstall
rm -rf .SpaceVim .SpaceVim.d
rm -rf ~/.cache/SpaceVim
# Best way
rm -rf ~/.cache/{ctrlp/,neocomplete/,neomru/,neosnippet,neoyank,obexd,unite,vimfiles} ~/.SpaceVim ~/.vim
# remove vim settings
rm -rf .vim .vimrc .viminfo
rm -rf ~/.config/nvim
echo "set guifont=FiraCode\ Nerd\ Font\ Mono:h14" >> ~/.SpaceVim/vimrc
echo "set macligatures" >> ~/.SpaceVim/vimrc
echo "set encoding=UTF-8" >> ~/.SpaceVim/vimrc
echo "set noswapfile" >> ~/.SpaceVim/vimrc
echo "set smartcase" >> ~/.SpaceVim/vimrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment