Added ctrl-a and ctrl-e end and beginning of line bindings [Close #94]

This commit is contained in:
yan
2012-04-24 16:32:04 -07:00
parent 284a22728d
commit b1dfcb1901

View File

@@ -21,6 +21,10 @@ bindkey '^[[F' end-of-line # [End] - Go to end of line
bindkey '^[[4~' end-of-line # [End] - Go to end of line bindkey '^[[4~' end-of-line # [End] - Go to end of line
bindkey '^[OF' end-of-line # [End] - Go to end of line bindkey '^[OF' end-of-line # [End] - Go to end of line
# emacs style
bindkey '^a' beginning-of-line
bindkey '^e' end-of-line
bindkey ' ' magic-space # [Space] - do history expansion bindkey ' ' magic-space # [Space] - do history expansion
bindkey '^[[1;5C' forward-word # [Ctrl-RightArrow] - move forward one word bindkey '^[[1;5C' forward-word # [Ctrl-RightArrow] - move forward one word