Added bindkeys to move backward/forward one word a time

This commit is contained in:
Andrea Mistrali 2014-03-03 14:04:25 +00:00
parent 221bea3542
commit bfcf860175
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@
autoload -U select-word-style autoload -U select-word-style
select-word-style bash select-word-style bash
# Standard Linux
"^[[1;5C" forward-word
"^[[1;5D" backward-word
# Useful under iTerm # Useful under iTerm
bindkey "-e" bindkey "-e"
bindkey "\e[1~" beginning-of-line bindkey "\e[1~" beginning-of-line