1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 15:19:12 +08:00

Update wiki

This commit is contained in:
wsdjeg 2018-05-23 21:41:54 +08:00
parent 8685d2ff49
commit 18ebc2212f
3 changed files with 44 additions and 52 deletions

View File

@ -1,7 +1,7 @@
welcome to <img src="https://spacevim.org/SpaceVim.png" height="17" width="17"> **SpaceVim** wiki, a Resources guideline for SpaceVim! welcome to <img src="https://spacevim.org/SpaceVim.png" height="17" width="17"> **SpaceVim** wiki, a Resources guideline for SpaceVim!
- [Introduction](Introduction) - [Introduction](Introduction)
- **[FAQ](FAQ)** - **[FAQ](https://spacevim.org/faq/)**
- [Progress/Roadmap](Progress) - [Progress/Roadmap](Progress)
- [Features](Features) - [Features](Features)
- [Project layout](project_layout) - [Project layout](project_layout)

View File

@ -2,13 +2,13 @@
-- --
[Introduction](introduction) [Introduction](introduction)
[Community](community) [Community](community)
[FAQ](FAQ) [FAQ](https://spacevim.org/faq/)
[Layers](https://spacevim.org/layers/) [Layers](https://spacevim.org/layers/)
**Users** **Users**
[Install](Installing-SpaceVim) [Install](Installing-SpaceVim)
[Following HEAD](Following-HEAD) [Following HEAD](Following-HEAD)
[Docs](http://spacevim.org/documentation/) [Docs](http://spacevim.org/documentation/)
**Developers** **Developers**
[Contribute](https://spacevim.org/development/) [Contribute](https://spacevim.org/development/)

View File

@ -1,57 +1,49 @@
### Quick start guide ### Quick start guide
SpaceVim load custom configuration from `~/.SpaceVim.d/init.vim`, The default configuration file of SpaceVim is `~/.SpaceVim.d/init.toml`. This is
an example for basic usage of SpaceVim. For more info, please checkout SpaceVim
documentation.
:warning: It is not `~/.SpaceVim/init.vim`, user should not change anything in `~/.SpaceVim/`. ```toml
# This is basic configuration example for SpaceVim
here is an example: # 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, the value of this option is a string.
colorscheme = "gruvbox"
colorscheme_bg = "dark"
# Disable guicolors in basic mode, many terminal do not support 24bit
# true colors, the type of the value is boolean, true or false.
guicolors = true
# Disable statusline separator, if you want to use other value, please
# install nerd fonts
statusline_separator = "nil"
statusline_separator = "bar"
buffer_index_type = 4
# Display file type icon on the tabline, If you do not have nerd fonts
# installed, please change the value to false
enable_tabline_filetype_icon = true
# Display current mode text on statusline, by default It is disabled,
# only color will be changed when switch modes.
enable_statusline_display_mode = false
```viml # Enable autocomplete layer
" Here are some basic customizations, please refer to the ~/.SpaceVim.d/init.vim [[layers]]
" file for all possible options: name = "autocomplete"
let g:spacevim_default_indent = 3 auto-completion-return-key-behavior = "complete"
let g:spacevim_max_column = 80 auto-completion-tab-key-behavior = "cycle"
" Change the default directory where all miscellaneous persistent files go. [[layers]]
" By default it is ~/.cache/vimfiles/. name = "shell"
let g:spacevim_plugin_bundle_dir = '~/.cache/vimfiles/' default_position = "top"
default_height = 30
" set SpaceVim colorscheme # This is an example for adding custom plugins lilydjwg/colorizer
let g:spacevim_colorscheme = 'jellybeans' [[custom_plugins]]
name = "lilydjwg/colorizer"
" Set plugin manager, you want to use, default is dein.vim merged = 0
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'
``` ```
Comprehensive documentation is available for each layer by <kbd>:h SpaceVim</kbd>. Comprehensive documentation is available for each layer by <kbd>:h SpaceVim</kbd>.