vim command.txt
key="123456"
openssl enc -des3 -a -salt -in /tmp/test -k ${key} -out /tmp/test.asc
In vim's command mode :1,2!bash,the file /tmp/test was encrypted into /tmp/test.asc ,but all the lines in command.txt dispear,where is my lines in the edited file command.txt?
How to recover it?
How to keep all the lines in vim after executed by bash?

uafterward. – tivn Mar 29 '18 at 10:24:[range]w !bash:) – ZeroKnight Apr 02 '18 at 05:39