Skip to content

Instantly share code, notes, and snippets.

@alghanmi
Last active August 29, 2015 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alghanmi/8718007 to your computer and use it in GitHub Desktop.
Save alghanmi/8718007 to your computer and use it in GitHub Desktop.
spf13-vm installation and customization
#Setup spf13-vim
# Assumes MacOS has homebrew install
# Assumes Linux is Debian based
#Install spf13-vim
curl http://j.mp/spf13-vim3 -L -o - | sh
if [ "$(uname)" = "Darwin" ]; then
brew install ctags
elif [ "$(uname)" = "Linux" ]; then
sudo aptitude install exuberant-ctags
fi
#Add settings to local .vimrc
echo "\"Set color theme" | tee -a ~/.vimrc.local
echo "set t_Co=256" | tee -a ~/.vimrc.local
echo "set background=dark" | tee -a ~/.vimrc.local
echo "colorscheme solarized" | tee -a ~/.vimrc.local
echo "" | tee -a ~/.vimrc.local
echo "\"Set tabs to be tabs" | tee -a ~/.vimrc.local
echo "set tabstop=4" | tee -a ~/.vimrc.local
echo "set softtabstop=4" | tee -a ~/.vimrc.local
echo "set shiftwidth=4" | tee -a ~/.vimrc.local
echo "set noexpandtab" | tee -a ~/.vimrc.local
#Add needed bundles
echo "Bundle 'Shougo/neosnippet-snippets'" | tee -a ~/.vimrc.bundles.local
vim -c ':BundleInstall'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment