"Read from stdin and write to stdout in vim"
Thu 17 September 2020
- vim
For example:
cat /etc/fstab | vim -
Edit text and send to another server:
:w !ssh root@server 'cat - > /tmp/fstab'
For example:
cat /etc/fstab | vim -
Edit text and send to another server:
:w !ssh root@server 'cat - > /tmp/fstab'