-
-
Save andrewhoff/7c8b1af74ed553eacf63 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Prerequisites | |
# Install Xcode (https://itunes.apple.com/au/app/xcode/id497799835?mt=12) | |
# Get CLI Tools xcode-select --install | |
# Setup brew | |
# ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew update | |
# Install WGET | |
brew install wget | |
# Install tmux | |
brew install tmux | |
# Install tmuxinator to manage tmux sessions | |
gem install tmuxinator | |
# Install Vim | |
brew install vim --with-lua | |
# Install Ctags | |
brew install ctags | |
# Install Vim Plugins | |
curl "http://j.mp/spf13-vim3" -L -o - | sh | |
# Tmux Config | |
curl -o ~/.tmux.conf "https://gist.githubusercontent.com/bmartel/e816d3c83da7d5d735b0/raw/c1912ce4779090b01beb5f9216aecbe21eb6b33f/tmux.conf" | |
# Vim Config | |
echo 'set visualbell' > ~/.vimrc.local | |
echo 'set t_vb=' >> ~/.vimrc.local | |
echo 'set nospell' >> ~/.vimrc.local | |
echo 'set timeoutlen=1000 ttimeoutlen=0' >> ~/.vimrc.local | |
echo 'let g:NumberToggleTrigger="<F2>"' >> ~/.vimrc.local | |
echo 'let g:go_fmt_command = "goimports"' >> ~/.vimrc.local | |
echo 'colorscheme hybrid' >> ~/.vimrc.local | |
echo "Bundle 'jeffkreeftmeijer/vim-numbertoggle'" > ~/.vimrc.bundles.local | |
echo "Bundle 'airblade/vim-gitgutter'" >> ~/.vimrc.bundles.local | |
echo "Bundle 'w0ng/vim-hybrid'" >> ~/.vimrc.bundles.local | |
echo "Bundle 'editorconfig/editorconfig-vim'" >> ~/.vimrc.bundles.local | |
echo "Bundle 'fatih/vim-go'" >> ~/.vimrc.bundles.local | |
/usr/local/bin/vim +BundleInstall +GoInstallBinaries | |
# Coding font | |
wget -qO- -O Input-Font.zip "http://input.fontbureau.com/build/?fontSelection=whole&a=0&g=0&i=0&l=0&zero=0&asterisk=0&braces=0&preset=default&line-height=1.2&accept=I+do&email=" | |
unzip -d Input-Font Input-Font.zip | |
find ./Input-Font/Input_Fonts/InputMono -name "*.ttf" -exec cp -iv {} /Library/Fonts \; | |
rm Input-Font.zip | |
rm -rf ./Input-Font |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment