WSL - fairulazmin/note GitHub Wiki

1) Basic setup

Update

sudo apt update

Upgrade

sudo apt upgrade

Install nodejs

sudo apt install nodejs

Install npm

sudo apt install npm

Install pip

sudo apt install python3-pip

Install neovim

sudo apt install neovim
sudo npm install -g neovim

Install pynvim

pip3 install --upgrade pynvim

Check health

open neovim, run command below and ensure everything is Ok

:checkhealth

2) SpaceVim

Install SpaceVim

curl -sLf https://spacevim.org/install.sh | bash

Open neovim and let the plugin installation begin

nvim

if error on vimproc appear, open the following directory and run make

cd ~/.SpaceVim/bundle/vimproc.vim

run :SPConfig or open

[option](/fairulazmin/note/wiki/option)
  colorscheme = "palenight"
  escape_key_binding = "kj"
  enable_vimfiler_welcome = false
  filetree_direction = "left"
  
[layers](/fairulazmin/note/wiki/layers)
  name = "colorscheme"

[layers](/fairulazmin/note/wiki/layers)
  name = "lang#python"

[layers](/fairulazmin/note/wiki/layers)
  name = "lang#javascript"

reopen neovim and let the plugin installation begin

nvim