plugin manager download

This commit is contained in:
Luke Smith 2019-03-26 12:34:44 -04:00
parent 3d9edc02ee
commit f57a1c9afc
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -207,6 +207,8 @@ putgitrepo "https://github.com/LukeSmithxyz/mozillarbs.git" "/home/$name/.mozill
[ -f /usr/bin/pulseaudio ] && resetpulse [ -f /usr/bin/pulseaudio ] && resetpulse
# Install vim `plugged` plugins. # Install vim `plugged` plugins.
sudo -u "$name" mkdir -p "/home/$name/.config/nvim/autoload"
curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > "/home/$name/.config/nvim/autoload/plug.vim"
dialog --infobox "Installing (neo)vim plugins..." 4 50 dialog --infobox "Installing (neo)vim plugins..." 4 50
(sleep 30 && killall nvim) & (sleep 30 && killall nvim) &
sudo -u "$name" nvim -E -c "PlugUpdate|visual|q|q" >/dev/null 2>&1 sudo -u "$name" nvim -E -c "PlugUpdate|visual|q|q" >/dev/null 2>&1