Is there any chance to write the content of the current vim buffer to stdout?
I\'d like to use vim to edit content that was passed via stdin - without the need of a
Using :print will write to stdout, particularly if vim is run with both the -E and -s options, which cause it to run noninteractively and silently. See :h -E and :h -s-ex:
The output of these commands is displayed (to stdout):
:print
:list
:number
:set to display option values."
Use :%print to print the whole current buffer.