support ~ for homer shortcut