DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Install Neovim and Plugins


Install and Configure

Install neovim on Ubuntu 16.04 server:

take $HOME/apps/neovim
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
chmod u+x nvim.appimage
./nvim.appimage  # test running
echo 'alias vi="$HOME/apps/neovim/nvim.appimage"' >> ~/.bash_aliases
cd ~
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
cp ~/.vimrc ~/.config/nvim/init.vim
pip3 install --user neovim  # to enable neovim using Python plugin

Current installed plugins list:

call plug#begin()
Plug 'roxma/nvim-completion-manager'
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
Plug 'brooth/far.vim'
Plug 'kien/ctrlp.vim'
Plug 'gabrielelana/vim-markdown'
Plug 'scrooloose/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tpope/vim-fugitive'
Plug 'fholgado/minibufexpl.vim'
Plug 'mbbill/undotree'
Plug 'geoffharcourt/vim-matchit'
Plug 'ervandew/supertab'
Plug 'python-mode/python-mode'
Plug 'szw/vim-maximizer'
Plug 'scrooloose/nerdcommenter'
call plug#end()

Connecting with System Clipboard

On my Linux Mint laptop, first install xclip with sudo apt install xclip, Then add set clipboard+=unnamedplus into ~/.config/nvim/init.vim. See :h clipboard for details.



Published

Feb 16, 2018

Last Updated

Apr 21, 2018

Category

Tech

Tags

  • linux 158
  • neovim 3

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor