Set `nomodified` after reading from standard input. This way the buffer can be closed without error message. This will **not** disable modified warnings completely. If the input is modified after read, vim will reset `modified` (As it should).
kawase
dual_kawase
up
grep
~/media/