Quite often when I’m accessing a remote shell via ssh, I’d like to have a look at some files not only with the remote computer’s vi but maybe with my own MacVim or some other program.
Not necessarily because I want to use more graphically orientated programs but because I can still use the very same shell after having opened a window and don’t need to open another ssh session just because the first ssh session is occupied with showing me vi.
Of course via X forwarding I could use that system’s graphical tools – however this tends to be rather slow and apart from that it is usually quite ugly.
So my question would be: Is there some sort of escape command to use when I’m in a remote shell that allows for using my local tools transparently inside that remote working directory?