Update init.vim

This commit is contained in:
Vlad Doster 2020-05-18 23:34:35 -05:00 committed by GitHub
parent 24c71685af
commit e900b0ef25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,8 @@ let mapleader =","
if ! filereadable(system('echo -n "${XDG_CONFIG_HOME}/nvim/autoload/plug.vim"')) if ! filereadable(system('echo -n "${XDG_CONFIG_HOME}/nvim/autoload/plug.vim"'))
echo "Downloading junegunn/vim-plug to manage plugins..." echo "Downloading junegunn/vim-plug to manage plugins..."
silent !mkdir -p ${XDG_CONFIG_HOME}/nvim/autoload/ silent !mkdir -p "${XDG_CONFIG_HOME}/nvim/autoload/"
silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ${XDG_CONFIG_HOME}/nvim/autoload/plug.vim silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > "${XDG_CONFIG_HOME}/nvim/autoload/plug.vim"
autocmd VimEnter * PlugInstall autocmd VimEnter * PlugInstall
endif endif