Skip to content

noscripter/spaceneovim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpaceNeovim - Spacemacs for Neovim Build Status

SpaceNeovim is Spacemacs for Neovim. Forked from ctjhoa/spacevim and rewritten/restructured almost entirely (but still majorly inspired by the original fork).

Unlike Spacevim, SpaceNeovim specifically does not focus on support vim, and takes advantage of Neovim specific functions.

![screenshot](assets/Screenshot 2016-09-18 00.43.37.png)

Installation

Prerequisites:

  • git on your path
  • nvim on your path

SpaceNeovim is a configurable distribution like Spacemacs.

To start using SpaceNeovim you can use the following oneliner,

mkdir -p ~/.config/nvim/ && curl -sSfL https://raw.githubusercontent.com/tehnix/spaceneovim/master/vimrc.sample -o ~/.config/nvim/init.vim | nvim

It will download a default init.vim which in turn takes care of setting up the rest by:

Layers

Go to the layers repository for more information on the different layers.

To enable a layer, include it in g:dotspaceneovim_configuration_layers inside the dotspaceneovim/init block. For example, the following enables the +checkers/syntax-checking layer,

let g:dotspaceneovim_configuration_layers = [
\  '+checkers/syntax-checking'
\]

You can also add custom layers to g:dotspaceneovim_additional_plugins, which will be installed with vim-plug.

Developing

To easily test your changes it is recommended to symlink the various files into your .config/nvim folder. The ones you want to replace are

  • .config/nvim/spaceneovim-layers to test layer changes
  • .config/nvim/autoload/spaceneovim.vim to test core changes
  • .config/nvim/init.vim to test changes to vimrc.sample

Using your own layer repository

If you want to develop/test out your own layers, there are two ways to do it:

  1. Point to your own git repository with g:spaceneovim_layers_repository, e.g. let g:spaceneovim_layers_repository = 'git@github.com:Tehnix/spaceneovim-layers.git'. This needs to be set before dotspaceneovim/auto-install.
  2. Manage the spaceneovim-layers directory yourself - the bootstrap process basically just checks if the directory exists, and if not it clones it down. Symlinking or putting in your own directory here will also work.

License

See LICENSE.

About

Spacemacs for Neovim

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 100.0%