1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:40:04 +08:00
A community-driven modular vim/neovim distribution - The ultimate vimrc
Go to file
Wang Shidong bb50e1072c
Merge pull request #1712 from DrWowa/python-layer-doc
Fix layer activation command and typo in Python layer docs
2018-05-11 20:20:28 +08:00
.ci Detach command (#1685) 2018-05-01 22:19:16 +08:00
.gitee Add issue template for gitee 2018-03-26 19:02:55 +08:00
.github Add Faq for #1427 2018-02-22 11:40:16 +08:00
.SpaceVim.d Genarate roadmap from github milestones (#1547) 2018-03-24 21:09:00 -05:00
autoload Fix key bindings Tab 2018-05-11 19:51:39 +08:00
bin Relicense (#1406) 2018-02-15 22:25:03 +08:00
colors Better default 2018-02-25 01:04:54 +08:00
config Fix language 2018-05-11 19:25:50 +08:00
doc Add asyncomplete-clang (#1671) 2018-04-30 13:31:34 +08:00
docs Fix layer activation command and typo 2018-05-11 17:08:39 +05:00
ftplugin Use :t for bufname 2017-05-12 22:41:06 +08:00
mode Fix config 2018-04-29 20:33:01 +08:00
reddit Add reddit Sidebar 2018-01-14 19:39:20 +08:00
syntax Fix highlight 2018-02-22 09:46:33 +08:00
test Fix lint 2018-05-08 21:45:20 +08:00
wiki Fix typos: 2018-03-31 20:10:23 +02:00
.editorconfig Add support for editorconfig 2017-10-04 19:19:08 +08:00
.gitignore Update chinese document (#1331) 2018-01-27 01:07:02 +08:00
.travis.yml Replace mode for flygrep (#1340) 2018-02-04 22:01:16 +08:00
.vintrc.yaml Fix lint 2016-12-26 21:42:07 +08:00
addon-info.json Add spacevim tag in doc 2017-02-10 00:02:00 +08:00
appveyor.yml Update version to v0.8.0-dev (#1520) 2018-03-20 21:40:57 +08:00
CODE_OF_CONDUCT.md update file head (#1407) 2018-02-19 22:07:04 +08:00
codecov.yml Better default 2018-02-25 01:04:54 +08:00
CONTRIBUTING.md update file head (#1407) 2018-02-19 22:07:04 +08:00
filetype.vim update file head (#1407) 2018-02-19 22:07:04 +08:00
ginit.vim Fix default colorscheme 2018-03-18 16:31:34 +08:00
init.vim Remove default layer 2018-03-03 19:11:14 +08:00
LICENSE Relicense (#1406) 2018-02-15 22:25:03 +08:00
Makefile Fix test 2017-11-24 22:21:27 +08:00
README.cn.md Fix gitee readme img path (#1543) 2018-03-24 06:53:58 -05:00
README.md Update readme 2018-04-29 13:06:50 +08:00
vimrc Enable nocompatible for vim 2018-05-02 20:26:58 +08:00

SpaceVim

Wiki | Documentation | Twitter | Community | Sponsors | Gitter Chat | 中文官网

Build Status Build status codecov Version GPLv3 License Doc Average time to resolve an issue Percentage of issues still open

SpaceVim is a community-driven modular vim distribution. It manages collections of plugins in layers, which help collect related packages together to provide IDE-like features. SpaceVim is not just a vimrc but an ultimate Vim configuration, It contains many build-in features.

welcome-page

See the quick start guide, documentation or the available layers for more information.

Here is a throughput graph of the repository for the last few weeks:

Throughput Graph

New Features

This is a list of latest features implemented in SpaceVim:

Use toml as default configuration

here is an example for using toml as SpaceVim config:

# This is basic configuration example for SpaceVim

# 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"
    background = "dark"
    # Disable guicolors in basic mode, many terminal do not support 24bit
    # true colors
    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
    filetype_icon = false
    statusline_display_mode = false

# Enable autocomplete layer
[[layers]]
name = 'autocomplete'
auto-completion-return-key-behavior = "complete"
auto-completion-tab-key-behavior = "cycle"

[[layers]]
name = 'shell'
default_position = 'top'
default_height = 30

Iedit mode

SpaceVim uses powerful iedit mode to quick edit multiple occurrences of a symbol or selection. Two new modes:iedit-Normal/iedit-Insert

The default color for iedit is red/green which is based on the current colorscheme.

iedit mode

Highlight cursor symbol

SpaceVim supports highlighting of the current symbol on demand and adds a transient state to easily navigate and rename this symbol.

highlight cursor symbol

Fly Grep in Vim

With this feature, vim will display the searching result as you type. Of course, it is running asynchronously. Before using this feature, you need to install a searching tool. FlyGrep works through search tools: ag, rg, ack, pt and grep, Choose one you like.

searching project

Mnemonic key bindings navigation

You don't need to remember any key bindings, as the mapping guide will show up after the SPC is pressed. The mapping guide is also available for g, z, and s.

mapping guide

Help description for key bindings

use SPC h d k to get the help description of a key binding, and gd to find definition of key bindings.

describe key bindings

Asynchronous plugin manager

create an UI for dein.vim - the best asynchronous vim plugin manager

UI for dein

For more features, please read SpaceVim's Blog

Project layout

├─ .ci/                           build automation
├─ .github/                       issue/PR templates
├─ .SpaceVim.d/                   project specific configuration
├─ autoload/SpaceVim.vim          SpaceVim core file
├─ autoload/SpaceVim/api/         Public APIs
├─ autoload/SpaceVim/layers/      available layers
├─ autoload/SpaceVim/plugins/     buildin plugins
├─ autoload/SpaceVim/mapping/     mapping guide
├─ doc/                           help(cn/en)
├─ docs/                          website(cn/en)
├─ wiki/                          wiki(cn/en)
├─ bin/                           executable
└─ test/                          tests

Support SpaceVim

The best way to support SpaceVim is to contribute to it either by reporting bugs, helping the community on the Gitter Chat or sending pull requests.

For more info please check our development guidelines.

If you want to show your support financially you can buy a drink for the maintainer by clicking following icon.

Buy Me a Coffee at ko-fi.com

wechat alipay

Bitcoin: 1DtuVeg81c2L9NEhDaVTAAbrCR3pN5xPFv

Credits & Thanks

This project exists thanks to all the people who have contributed: