Skip to content

Instantly share code, notes, and snippets.

@verajosemanuel
Created December 18, 2019 13:50
Show Gist options
  • Save verajosemanuel/e4c51526a50b07d2a9c08056645c9deb to your computer and use it in GitHub Desktop.
Save verajosemanuel/e4c51526a50b07d2a9c08056645c9deb to your computer and use it in GitHub Desktop.
set #vim plug in #neovim
"setup vim-plug {{{
"Note: install vim-plug if not present
if empty(glob('~/.config/nvim/autoload/plug.vim'))
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall
endif
"Note: Skip initialization for vim-tiny or vim-small.
if !1 | finish | endif
if has('vim_starting')
set nocompatible " Be iMproved
" Required:
call plug#begin()
endif
"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment