Last active
August 29, 2015 13:55
-
-
Save alghanmi/8718007 to your computer and use it in GitHub Desktop.
spf13-vm installation and customization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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