How can I keep a file in memory during editing?
问题 Short version : echo "testing" | vim - | grep "good" This doesn't work as vim won't output to a pipe. It says : "Vim: Warning: Output is not to a terminal". Any way to do this? Cross-editor support would be nice too. I've tried named pipes, but vim won't open them. Long version : echo $passw | gpg -q -d --passphrase-fd 0 $filename | vim - | "somehow gpg encrypt it using $passw and store it back in $filename". I'm trying to edit a gpg encrypted file but would like to not have the decrypted