sshfs username@hostname:/folder /mountfolder
With this command the the /folder on the ssh host is mounted locally to /mountfolder. And you can access it as local folder.
To unmount the mounted folder
fusermount -u /mountfolder
sshfs username@hostname:/folder /mountfolder
fusermount -u /mountfolder
vim -d file1 file2
ctrl+w ctrl+w - switch windows
do - diff obtain
dp - diff put
[c - previous difference
]c - next difference
:diffupdate - diff update ;)
:syntax off - syntax off
zo - open folded text
zc - close folded text