I have a problem piping the current buffer to an external command. Similar questions asked could not solve the problem.
I want to treat the content of the buffer as a string and simply pass it as an argument like this, where %s is the CONTENT of my file:
:!thunderbird.exe -compose body=%s
The usual way of using %w !{cmd}
is not working here, because thunderbird doesn't read from STDIN, correct me if this assumption is wrong. (Piping buffer to external command in Vim)
How do I send my buffer content as a string to an external command?