How To: Install Vim 7.x Locally on Site5

Purpose: upgrade your Vim distribution to 7.x on your Site5 account with minimal hassle. I had tried to follow this guide initially but kept running into problems with my $VIMRUNTIME files … anyway, this method works very easily utilizing a bash script and eliminating the problems I had.

a couple easy steps:

Log into your Site5 account via ssh and follow these steps (note, the version of the script doesn’t exist anymore, try getting it here):

  • wget http://ilerner.3b1.org/vim/vim7-install.sh
  • chmod +x vim7-install.sh
  • ./vim7-install.sh -cache tmp/ -home

This will install the Vim executable at ~/bin/vim.

In order for it to run in lieu of the default Vim app, make an alias at the bottom of your ~/.bashrc file that points to it:

alias vim=~/bin/vim

That should be all you have to do.

2 Comments (newest first)

  1. Josh says:

    Hey, don’t stop blogging. I noticed you tend to post sporadically. Every now and then I find something interesting on here…I wish you posted blogs more often.

    • Damon says:

      Hey Josh – thanks for the words of encouragement. I love doing it but just don’t have the time these days between work and family. If only I could do this as my work then that would be something!