For example:

cat /etc/fstab | vim -

Edit text and send to another server:

:w !ssh root@server 'cat - > /tmp/fstab'