DEV Community

Cover image for Try SpaceVim without clobbering your existing Vim configuration
Patrick B
Patrick B

Posted on

Try SpaceVim without clobbering your existing Vim configuration

This is straight from the SpaceVim FAQs, but it's a little buried there if you're not looking for it.

It's entirely possible to try or use SpaceVim without disrupting your existing Vim configuration. This assumes a working bash or zsh shell environment and vim installed.

In just 2 quick steps:

1) Clone the SpaceVim repository:

   git clone https://github.com/SpaceVim/SpaceVim.git ~/.SpaceVim
Enter fullscreen mode Exit fullscreen mode

2) Create svim as an alias in your .bashrc or .zshrc file:

   alias svim='vim -u ~/.SpaceVim/vimrc'
Enter fullscreen mode Exit fullscreen mode

After re-initializing your shell environment, you should simply be able to use svim on the command line to enable a fully-functional SpaceVim IDE.

SpaceVim is very customizable. You're welcome to checkout/use/adapt my own customization.

Q: Can it be better?
A: You bet! Use NeoVim instead of Vim. You'll get all the goodness of Vim and all the coding love of NeoVim. Give it a go!

Top comments (0)