Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: lauching editor on command line input



Something like this should work:

bindkey -a "^A^A" beginning-of-buffer-or-history
bindkey -a "^A^E" end-of-buffer-or-history
bindkey -a "^A'" quote-line
bindkey -as some_key_sequence "^A'^A^AIprint -r -- ^[^A^EA > /tmp/z\$\$;vi /tmp/z\$\$;print -z -- \$(< /tmp/z\$\$)^M"

This is untested.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author