Skip to content

My system configuration (things like: ZSH, Sublime, Git, Ruby and others).

Notifications You must be signed in to change notification settings

martijnbleeker/dotfiles

 
 

Repository files navigation

Dotfiles

These dotfiles contain configuration and installation for:

  • XCode
  • Homebrew
  • ITerm2
  • ZSH
  • Dotfiles
  • Sublime
  • chruby and ruby-install
  • Misc. Utilities

This setup is intended for Mac OSX ~> 10.9

Installation

Here is a step-by-step installation.

XCode

Install XCode through the Mac App Store.

Run:

xcode-select --install

Environment, ZSH, Sublime configuration

Next, clone this Git repository to your $HOME directory and initialize/update the submodules and finally hook everything up by running the install script.

git clone git://github.com/martijnbleeker/dotfiles.git $HOME/dotfiles

cd $HOME/dotfiles && git submodule init && \
  git submodule update --recursive && ./install

This should set up the symlinks from the dotfiles directory to your $HOME directory, do not remove the dotfiles directory.

OSX defaults

Set osx defaults.

./.osx

Homebrew

Next, install Homebrew using the following command.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

After installing Homebrew, ensure permissions are correct by running the following.

sudo chown -R $(whoami):admin /usr/local
brew update
brew tap Homebrew/bundle
brew bundle

ITerm2

Download ITerm2, a Terminal replacement. Using color preset "Tango Dark" at the moment.

Keyboard setup

Under "(Global) Keys" add the following maps *:

  • alt + backspace = Send Hex Code: 17
  • alt + <- = Send Escape Sequence: b
  • alt + -> = Send Escape Sequence: f

* = Use the actual keys, not the text above.

Sublime plugins

Install the following Sublime plugins through Sublime package control once it is installed.

Atom plugins

  • atom-eco
  • file-icons
  • language-dotenv
  • language-haml
  • language-rspec
  • minimap
  • omni-ruler

chruby and ruby-install

Install chruby by following the instructions on the project page.

ruby-install ruby-[VERSION] ~/.rubies/ruby-[VERSION]

Vim

Vundle

vim +:PluginInstall

About

My system configuration (things like: ZSH, Sublime, Git, Ruby and others).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 38.7%
  • Shell 24.7%
  • Vim Snippet 21.6%
  • Lua 8.6%
  • Python 4.3%
  • Ruby 1.3%
  • Less 0.8%