This is a creation in Article, where the information may have evolved or changed.
Spacevim Chinese Manual
Project home: spacevim.org
GitHub Address: Spacevim GitHub, Welcome to star or fork.
The Spacevim is a community-driven, modular Vim/neovim configuration collection that contains a variety of function modules and is optimized for NEOVIM functionality. Spacevim has a variety of functional modules to choose from, users only need to select the required modules, you can configure a suitable development environment.
Problems encountered during use or any functional requirements can be submitted issue on GitHub, which will be more easily noticed and repaired. We also welcome users like Vim/neovim to join our QQ group, discuss vim related skills, click Join Vim/spacevim user Group.
The following is a summary of the development in recent weeks:
directory installation update features User Configuration
Installation
The installation of Spacevim under Linux or MAC is simple, just execute the following command:
CURL-SLF https://spacevim.org/install.sh | Bash
For more customized installation options, please refer to:
CURL-SLF https://spacevim.org/install.sh | Bash-s---H
Spacevim is a modular configuration that can be run on vim or Neovim, for vim and Neovim installation, please refer to the following links:
Installing Neovim
Compiling vim from source code
Installation steps under Windows System:
Under Windows vim user only need to clone the repository into the user's home directory vimfiles can, open CMD default directory default is HOME directory, only need to execute the following command:
git clone https://github.com/SpaceVim/SpaceVim.git vimfiles
Windows Neovim users need to clone this repository into the user's HOME directory appdata\local\nvim, want to get more about Neovim installation related knowledge, access to Neovim wiki, wiki written in very detailed. Open CMD The initial directory is usually the HOME directory by default, just execute the following command:
git clone https://github.com/SpaceVim/SpaceVim.git AppData\Local\nvim
Font
Spacevim default enabled powerline font, the default font file is: Dejavu Sans Mono, Windows users directly download down right-click installation.
Vimproc.dll
Windows under the user if not easy to compile, can be in the QQ group file download the corresponding DLL file into the Vimproc lib directory, the default is~/.cache/vimfiles/repos/github.com/Shougo/vimproc.vim/lib/
Characteristics
An elegant interface
The default bounds for Spacevim include the Tagbar, Vimfiler, and airline interfaces, and the gruvbox used for color theme.
Unite-based work platform
Unite shortcut key prefix isf, can beg:spacevim_unite_leaderset by, shortcut keys do not need to remember, Spacevim has a very good shortcut key assistance mechanism, the following is the Unite shortcut key diagram:
Auto-complete
Spacevim uses the fastest complement engine deoplete, the main point of the engine differs from Youcompleteme is to support multi-source completion, not just semantic completion. It is also very convenient to complete the source extension.
Detailed tags Management
User Configuration
Spacevim will be from ~/. Spacevim.d/init.vim and the current directory of the./spacevim.d/init.vim load configuration, and update RTP, the user can be in ~/. Spacevim.d/and. Spacevim.d/these two folders to edit their own scripts, and Spacevim configuration files.
Example:
" Here are some basic customizations,
" please refer to the ~/.SpaceVim.d/init.vim
" file for all possible options:
let g:spacevim_default_indent = 3
let g:spacevim_max_column = 80
" Change the default directory where all miscellaneous persistent files go.
" By default it is ~/.cache/vimfiles/.
let g:spacevim_plugin_bundle_dir = '~/.cache/vimfiles/'
" set SpaceVim colorscheme
let g:spacevim_colorscheme = 'jellybeans'
" Set plugin manager, you want to use, default is dein.vim
let g:spacevim_plugin_manager = 'dein' " neobundle or dein or vim-plug
" use space as `<Leader>`
let mapleader = "\<space>"
" Set windows shortcut leader [Window], default is `s`
let g:spacevim_windows_leader = 's'
" Set unite work flow shortcut leader [Unite], default is `f`
let g:spacevim_unite_leader = 'f'
" By default, language specific plugins are not loaded. This can be changed
" with the following, then the plugins for go development will be loaded.
call SpaceVim#layers#load('lang#go')
" loaded ui layer
call SpaceVim#layers#load('ui')
" If there is a particular plugin you don't like, you can define this
" variable to disable them entirely:
let g:spacevim_disabled_plugins=[
\ ['junegunn/fzf.vim'],
\ ]
" If you want to add some custom plugins, use these options:
let g:spacevim_custom_plugins = [
\ ['plasticboy/vim-markdown', {'on_ft' : 'markdown'}],
\ ['wsdjeg/GitHub.vim'],
\ ]
" set the guifont
let g:spacevim_guifont = 'DejaVu\ Sans\ Mono\ for\ Powerline\ 11'
2,960 Reads