Skip to content

Instantly share code, notes, and snippets.

@steeef
Last active November 18, 2015 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steeef/4b63bf2b765749e8d3e0 to your computer and use it in GitHub Desktop.
Save steeef/4b63bf2b765749e8d3e0 to your computer and use it in GitHub Desktop.
Setup for new OS X machine

Homebrew

http://brew.sh/

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

brew install

brew install reattach-to-user-namespace git zsh wget

commandline stuff

  • git clone ssh://git@github.com/steeef/dotfiles ~/.dotfiles
  • run ~/.dotfiles/bin/bootstrap.sh
  • Change shell to zsh:
echo "/usr/local/bin/zsh" | sudo tee -a /etc/shells
chsh -s /usr/local/bin/zsh

Keyboard setup

http://stevelosh.com/blog/2012/10/a-modern-space-cadet/

  • Karabiner: add this to private.xml:
<item>
    <name>Remap Left Control to Hyper</name>
    <appendix>OS X doesn't have a Hyper. This maps Left Control to Control + Shift + Option + Command.</appendix>

    <identifier>space_cadet.left_control_to_hyper</identifier>

    <autogen>
        --KeyToKey--
        KeyCode::F19,

        KeyCode::COMMAND_L,
        ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L
    </autogen>
</item>
  • Seil
  • System Preferences -> Keyboard -> Modifier Keys, Set Caps Lock to Control

Other Apps

  • iTerm2 Beta (set load/save prefs to ~/.iterm2)
  • Chrome
  • Firefox
  • LastPass
  • Hammerspoon
  • Quicksilver
  • ClipMenu
  • NoSleep
  • Xccello
  • Slack
  • XCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment