local tmpfile=${TMPPREFIX:-/tmp/zsh}ecl$$ print -R - "$PREBUFFER$BUFFER" >$tmpfile exec /dev/null else ${=${VISUAL:-${EDITOR:-vi}}} $tmpfile fi print -Rz - "$(<$tmpfile)" command rm -f $tmpfile zle send-break # Force reload from the buffer stack # vim:ft=zsh