From 68d8db00b8284972c7a4c224ee621d98569d5a5b Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Sun, 24 Jan 2021 22:18:22 -0600 Subject: [PATCH] Messing with Vim setup. --- bootstrap.sh | 11 +++++++++++ vimrc | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) 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="," -- 2.47.3