add info
This commit is contained in:
+7
-2
@@ -117,6 +117,12 @@ sync_repo() {
|
|||||||
|
|
||||||
setup_vimplug() {
|
setup_vimplug() {
|
||||||
|
|
||||||
|
# if vimplug is already installed
|
||||||
|
# comment out since this can update vimplug
|
||||||
|
#if [ -e "~/.vim/autoload/plug.vim" ]; then
|
||||||
|
# return 0
|
||||||
|
#fi
|
||||||
|
|
||||||
mkdir -p "$VIM_RTPATH/autoload"
|
mkdir -p "$VIM_RTPATH/autoload"
|
||||||
# setup for vim
|
# setup for vim
|
||||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||||
@@ -128,11 +134,10 @@ setup_vimplug() {
|
|||||||
vim \
|
vim \
|
||||||
"+set nomore" \
|
"+set nomore" \
|
||||||
"+PlugInstall!" \
|
"+PlugInstall!" \
|
||||||
"+PlugClean" \
|
|
||||||
"+qall"
|
"+qall"
|
||||||
|
|
||||||
export SHELL="$system_shell"
|
export SHELL="$system_shell"
|
||||||
success "Plugins' updated/installed using vim-plug"
|
success "Plugins' updated/installed using vim-plug \n(Be careful some plugins may not be installed since they require to use neovim or higher vim version. To intall them, run :PlugInstall inside correct version)"
|
||||||
}
|
}
|
||||||
|
|
||||||
set_up_nvim() {
|
set_up_nvim() {
|
||||||
|
|||||||
Reference in New Issue
Block a user