bindkey -e
+bindkey "^[[3~" delete-char
+bindkey "^[3;5~" delete-char
+bindkey "\e[3~" delete-char
+
# Allow editing of the current command line in $EDITOR
autoload -Uz edit-command-line
zle -N edit-command-line
bindkey '\C-x\C-e' edit-command-line
+
+# Move to where the arguments belong.
+after-first-word() {
+ zle beginning-of-line
+ zle forward-word
+}
+zle -N after-first-word
+bindkey "\C-x1" after-first-word
+
+# Push back current line.
+bindkey '\C-x\C-p' push-line