Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (9 sloc) 339 Bytes
# Mac keyboard specific keybindings
# The host is using OSX terminal, as set in
# 89-ssh-enhancements
if [[ "$LC_TERM_PROGRAM" == "iTerm.app" ]] ; then
bindkey "\e\e[D" backward-word # alt + <-
bindkey "\e\e[C" forward-word # alt + ->
bindkey '^[[H' beginning-of-line
bindkey '^[[F' end-of-line
fi