Trackpad settings

System Preferences -> Trackpad:

  • Secondary click by right corner
  • Enable Tap to Click
  • Disable Scroll Direction: Natural

Keyboard settings

System Preferences -> Keyboard:

  • Maximum Key Repeat
  • Maximum Delay Until Repeat
  • Enable Use F1, F2, etc as standard

CapsLock to switch languages

Reference: stackoverflow

  1. Install Karabiner-elements:
  2. Remap CapsLock to f19
  3. System Preferences -> Keyboard -> Key modifiers: disable CapsLock
  4. System Preferences -> Keyboard -> Shortcuts -> Input Sources: press CapsLock to change languages



Host dev # alias name
    HostName <full host name>
    User <user name>


git clone
ln -s configs/.vimrc ~/.vimrc


export CLICOLOR=1 # enable colored `ls`

Install brew


Install mosh

brew install mosh

Install powerline


pip install --user git+git://

# find installed path
pip show powerline-status

# it will be something like
# /Users/${USER}/Library/Python/2.7/lib/python/site-packages
# pip installation is missing scripts so we need to copy them manually

git clone
cp -r powerline/powerline/ $POWERLINE_PATH/powerline
cp -r powerline/scripts/ $POWERLINE_PATH/scripts

# create directory with configs
mkdir ~/.config/powerline
cp -r ./powerline/powerline/config_files/ .config/powerline/

Enable powerline for bash by adding the following line to ~/.bash_profile:

source $POWERLINE_PATH/powerline/bindings/bash/