This simple weechat plugin allows you to
compose messages in your $EDITOR
.
/edit
# Type some stuff
# Save and quit
If you'd like to customize the editor you use outside of the $EDITOR
environment variable, you can set it in weechat.
/set plugins.var.python.edit.editor "vim -f"
Copy the script to ~/.weechat/python/autoload
mkdir -p ~/.weechat/python/autoload
wget https://raw.githubusercontent.com/keith/edit-weechat/master/edit.py ~/.weechat/python/autoload