1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00

Add link of doc into README

This commit is contained in:
wsdjeg 2017-01-02 10:38:23 +08:00
parent 632fc52d83
commit f682872020
4 changed files with 91 additions and 76 deletions

View File

@ -1,5 +1,6 @@
# SpaceVim
[![Build Status](https://travis-ci.org/SpaceVim/SpaceVim.svg?branch=dev)](https://travis-ci.org/SpaceVim/SpaceVim)
[![Doc](https://img.shields.io/badge/doc-%3Ah%20github-orange.svg?style=flat-square)](doc/SpaceVim.txt)
Like spacemacs, but for vim. [中文交流群121056965, 点击加入](https://jq.qq.com/?_wv=1027&k=43DB6SG)

View File

@ -1,7 +1,12 @@
scriptencoding utf-8
function! SpaceVim#init() abort
"Vim settings
let g:spacevim_ = get(g:, 'settings', {})
""
" @section Introduction, intro
" SpaceVim is a modular configuration for vim/neovim plugins.
""
" @section Configuration, config
" @plugin(name) is configured by these options.
""
" The default_indent of SpaceVim.
let g:spacevim_default_indent = 2
@ -71,7 +76,6 @@ function! SpaceVim#init() abort
\*.ttf,*.TTF,*.png,*/target/*,
\.git,.svn,.hg,.DS_Store'
endfunction
function! SpaceVim#loadCustomConfig() abort
let custom_confs = SpaceVim#util#globpath(getcwd(), '.local.vim')

View File

@ -7,7 +7,6 @@ catch
call zvim#util#source_rc('functions.vim')
endtry
call SpaceVim#init()
call zvim#util#source_rc('init.vim')

View File

@ -3,12 +3,20 @@ wsdjeg *SpaceVim*
==============================================================================
CONTENTS *SpaceVim-contents*
1. Configuration...........................................|SpaceVim-config|
2. Functions............................................|SpaceVim-functions|
1. Introduction.............................................|SpaceVim-intro|
2. Configuration...........................................|SpaceVim-config|
3. Functions............................................|SpaceVim-functions|
==============================================================================
INTRODUCTION *SpaceVim-intro*
SpaceVim is a modular configuration for vim/neovim plugins.
==============================================================================
CONFIGURATION *SpaceVim-config*
SpaceVim is configured by these options.
*g:spacevim_default_indent*
The default_indent of SpaceVim.
@ -46,6 +54,9 @@ example:
<
now Space Vim support these groups:
*g:spacevim_enable_powerline_fonts*
enable/disable SpaceVim with powerline symbols.
*g:spacevim_hosts_url*
The host file url. this option is for chinese users who can not use google and
twitter.