Swap keys for `~ and \| like Mac OS X