From: Edward Delaporte Date: Mon, 25 Jan 2021 04:18:22 +0000 (-0600) Subject: Messing with Vim setup. X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/68d8db00b8284972c7a4c224ee621d98569d5a5b?ds=sidebyside Messing with Vim setup. --- diff --git a/bootstrap.sh b/bootstrap.sh index c99f8ee..35723cd 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -21,6 +21,7 @@ if [ ! -f ~/.vimrc ]; then ln -s ~/dotfiles/vimrc ~/.vimrc fi + ## Setup PowerShell if [ ! -f ~/.config/powershell/Microsoft.PowerShell_profile.ps1 ]; then sudo apt-get install powershell @@ -56,6 +57,16 @@ fi ## Setup Vundle for Vim if [ ! -d ~/.vim/bundle ]; then + echo "*** Setup Vundle for Vim***" git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim + + sudo apt-get install vim-gtk3 # For python support + sudo update-alternatives --set editor /usr/bin/vim.gtk3 + sudo update-alternatives --set vim /usr/bin/vim.gtk3 + sudo update-alternatives --set vi /usr/bin/vim.gtk3 + vim +BundleInstall +qall + fi + + diff --git a/vimrc b/vimrc index 58da9f8..17b71c0 100644 --- a/vimrc +++ b/vimrc @@ -12,9 +12,9 @@ " vim +BundleInstall +qall " " Automatically setup Vundle on first run -if !isdirectory(expand("~/.vim/bundle/Vundle.vim")) - call system("git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle") - endif +" if !isdirectory(expand("~/.vim/bundle/Vundle.vim")) +" call system("git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle") +" endif " Let the leader key be , let mapleader=","