# Vim (Neovim)

The following vimrcs are designed to be used with neovim, and uses [vim-plug](https://github.com/junegunn/vim-plug) as the package manager.

## Dependencies

 - neovim
 - Patched nerd fonts (refer to the `fonts/` folder)

### For plugins

For most of these plugin dependencies, vim should run fine without them if you do not need the features.

 - ale.vim
  - black: python code formatter
  - isort: sorts python imports
  - flake8: PEP8 linter
  - prettier: JS formatter
 - ack.vim
  - ack: File searcher
 - deoplete.vim
  - flow: Javascript completer

## Setup

> WARNING: install.sh overwrites existing vimrc files.

Run `install.sh`. It does the following:

 - Symlinks both `.vimrc` and `.vim` to `~`
  - `vimrc` contains the vim-plug packages
  - `.vim` contains custom configs for languages and the plugins
 - Symlinks `init.vim` to `~/.config/nvim/init.vim`
  - This makes neovim make use of traditional vim's config structure
 - Installs vim-plug

## Install plugins

Start neovim and run `:PlugInstall` to install the plugins.

# Vim (Neovim)

The following vimrcs are designed to be used with neovim, and uses [vim-plug](https://github.com/junegunn/vim-plug) as the package manager.

## Dependencies

 - neovim
 - Patched nerd fonts (refer to the `fonts/` folder)

### For plugins

For most of these plugin dependencies, vim should run fine without them if you do not need the features.

 - ale.vim
  - black: python code formatter
  - isort: sorts python imports
  - flake8: PEP8 linter
  - prettier: JS formatter
 - ack.vim
  - ack: File searcher
 - deoplete.vim
  - flow: Javascript completer

## Neovim setup

After installing neovim, make sure it has Python/Ruby/Node support:

```
pip3 install --user neovim
pip2 install --user neovim
gem install -N neovim
sudo npm install -g neovim
```

> Try not to install the system packages for these since they tend to be out of date.

## Setup

> WARNING: install.sh overwrites existing vimrc files.

Run `install.sh`. It does the following:

 - Symlinks both `.vimrc` and `.vim` to `~`
  - `vimrc` contains the vim-plug packages
  - `.vim` contains custom configs for languages and the plugins
 - Symlinks `init.vim` to `~/.config/nvim/init.vim`
  - This makes neovim make use of traditional vim's config structure
 - Installs vim-plug

## Install plugins

Start neovim and run `:PlugInstall` to install the plugins.

Add instructions for neovim language support
Add instructions for neovim language support

Signed-off-by: Shen Yichen <be3bb257ef8d73236feaba36cd3e5ee9095e6819@gmail.com>
