Skip to content

liuchengxu/space-vim

 
 

Repository files navigation

space-vim

     ___ _ __   __ _  ___ ___     __   _(_)_ __ ___
     / __| -_ \ / _- |/ __/ _ \____\ \ / / | -_ - _ \ 
     \__ \ |_) | (_| | (_|  __/_____\ V /| | | | | | |
     |___/ .__/ \__._|\___\___|      \_/ |_|_| |_| |_|
         |_|

space-vim is a vim distribution inspired by spacemacs, especially in key bindings.

I use both spacemacs and vim everyday and hope they maintain consistency in operation as far as possible. Hence it is fruitful to those who use spacemacs and vim at the same time as well as vim beginer.

The distribution is customisable using a ~/.vimrc.local and ~/.vimrc.plug.local Vim RC files.

It has also learned a great deal from other first-class vim configurations, such as spf13-vim. Thanks for their outstanding works.

Screenshots:

  • ubuntu

ubuntu

  • macOS

screenshot

Installation

Before setting up space-vim, you need to choose a vim plugin manager, for space-vim offers two options: Vundle and vim-plug.

If you prefer Vundle, please move to master branch.

Linux and macOS

You need to statisfy some prerequisites to make all the plugins work, especially vim complied with certain features, such as python, and some other tools used by related plugins. Here is a recommended list.

For linux and macOS, it is easy to install space-vim with curl or wget.

  • curl

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/liuchengxu/space-vim/vim-plug/install.sh)"
    
  • wget

    sh -c "$(wget -qO- https://raw.githubusercontent.com/liuchengxu/space-vim/vim-plug/install.sh)"
    

How to use

If you are just starting to use vim, refer to 中文指南 for some tips.

If you have been a vimer for a while, refer to the vimrc related files directly.

Updating to the latest version

You can manually perform the following steps, or completely reinstall space-vim, which is more easier and safer.

cd ~/.space-vim
git pull
vim +PlugInstall! +PlugClean +q

TODO

space-vim is a work in progress, so any ideas and patches are appreciated.

  • Windows compatibility.