2016年11月22日 星期二

[neovim, plugin manager] How to use neovim plugin and install airline plugin

How to use neovim plugin manager and install airline plugin



Google Doc: This document.

Install plugin manager

Command
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
>     https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Add  a vim-plug Section for the plugins

call plug#begin('~/.vim/plugged')
{Your Plug-in}
call plug#end()
e.g.
~/.config/nvim/init.vim
call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()

Insatll the plugins

Command
:PlugInstall

e.g.


References