First, head over to thoughtbot's dotfiles and install those. Then:
cd ~
git clone https://github.com/rickgorman/dotfiles.git dotfiles-local
cd dotfiles-local
./setup.sh
https://superuser.com/questions/1142577/bind-caps-lock-key-to-tmux-prefix-on-macos-sierra