Created
June 12, 2020 12:50
-
-
Save rafaelnp/9b5f779788df98a84fa28508c09dc875 to your computer and use it in GitHub Desktop.
Neovim auto-install vim-plug
This file contains 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
" auto-install vim-plug | |
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 | source $MYVIMRC | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment