Skip to content

HallDJack/dotfiles

Repository files navigation

dotfiles

Dotfiles for tmux, vim and bash including powerline for all.

Setup

  1. Clone the repo.
  2. Load the iTerm2 settings
Preferences > General > "Load preferences from a customer folder or URL"
Open the plist in the repo.
  1. Install Homebrew. (http://brew.sh)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Install Tmux.
brew install tmux
  1. Install reattach-to-user-namespace
brew install reattach-to-user-namespace
  1. Install Tmux Plugin Manager ((TPM)[https://github.com/tmux-plugins/tpm])
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
  1. Run the following commands to symlink the files in the repo to the apporpriate places.
mkdir ~/.nvm
mkdir ~/.tmux
mkdir ~/.config
mkdir ~/.config/powerline-shell
export repo_dir=/path/to/this/repo
ln -s $repo_dir/bash_profile           ~/.bash_profile
ln -s $repo_dir/bashrc                 ~/.bashrc
ln -s $repo_dir/gitconfig              ~/.gitconfig
ln -s $repo_dir/git_ignore             ~/.gitignore
ln -s $repo_dir/irbrc                  ~/.irbrc
ln -s $repo_dir/powerline_shell_config ~/.config/powerline-shell/config.json
ln -s $repo_dir/rspecrc                ~/.rspec
ln -s $repo_dir/aprc                   ~/.aprc
ln -s $repo_dir/tmux_conf              ~/.tmux.conf
ln -s $repo_dir/tmux_powerline         ~/.tmux-powerline
ln -s $repo_dir/tmux_powerlinerc       ~/.tmux-powerlinerc
ln -s $repo_dir/tmate_conf              ~/.tmate.conf
ln -s $repo_dir/pop_tmux               ~/.tmux/poppays
ln -s $repo_dir/vimrc                  ~/.vimrc
  1. Configure git globals
git config --global core.editor "vim"
git config --global push.default simple
git config --global user.name "Jack Hall"
git config --global user.email jack@popularpays.com
git config --global core.excludesfile '~/.gitignore'
  1. Clone and install the powerline fonts.
git clone https://github.com/powerline/fonts
cd fonts
./install.sh
  1. Set up powerline-shell.
  1. Clone tmux-powerline repo.
git clone https://github.com/HallDJack/tmux-powerline
  1. Install Karabiner-Elements.

Download:

https://pqrs.org/osx/karabiner/index.html

Configure:

ln -s $repo_dir/karabiner ~/.config
launchctl kickstart -k gui/`id -u`/org.pqrs.karabiner.karabiner_console_user_server
  1. Clone Vundle.
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/plugin/Vundle.vim
  1. Install Vundle.
#Open Vim
#Source vimrc
:source ~/.vimrc
#Run
:PluginInstall
  1. Install all the Vundle plugins.
# Open Vim
#Source vimrc
:source ~/.vimrc
#Run
:PluginInstall
  1. Vim Powerline should be set up once a Vundle is performed.
  1. Install Ctags
brew install ctags
  1. Install Gnupg
brew install gnupg
  1. Install RVM
  1. Install Global Gems
rvm @global do gem install awesome_print
rvm @global do gem install pry
rvm @global do gem install pry-byebug
rvm @global do gem install httplog
  1. Install NPM & NPX link
brew install node
npm install -g npx
  1. Install alt-ruby.vim. (From Dropbox)
  2. Extra Documentation incase something has gone wrong.