~/Blog

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

Neovim Plugins

Published on

Updated on

I decided to switch to neovim recently and that resulted in having to redo my setup. This post will describe how to setup plugins with vim-plug.

First install neovim

sudo apt install neovim

Next, setup the vim-plug manager

curl \
  -fLo ~/.local/share/nvim/site/autoload/plug.vim \
  --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Then, you can load your favorite plugins inside of ~/.config/nvim/init.vim

"" Plugins Section
call plug#begin()
Plug 'airblade/vim-gitgutter' " Git Integration
Plug 'junegunn/fzf' " Fuzzy Finder
Plug 'vim-airline/vim-airline' " Status Line
Plug 'dense-analysis/ale' " Async Lint
Plug 'scrooloose/nerdtree' " Directory Tree
call plug#end()

map <C-o> :NERDTreeToggle<CR>

Finally, enter vim and type :PlugInstall to install all the plugins listed.

Reply via Email Buy me a Coffee
Was this useful? Feel free to share: Hacker News Reddit Twitter