Created
December 18, 2019 13:50
-
-
Save verajosemanuel/e4c51526a50b07d2a9c08056645c9deb to your computer and use it in GitHub Desktop.
set #vim plug in #neovim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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