I use ssh to remotely login to a machine where I subsequently work primarily from Vim. Sometimes I want to run some shell command on my original machine without leaving Vim. What is a non-disruptive way to do this that can make decisions based on something in the remote server?
For example, I might highlight a URL from Vim on the remote terminal, and then want to launch a browser on my local machine that navigates to this website. It shouldn't matter, but I am using cygwin from a Windows 7 PC.
I have never used tmux, but I was thinking maybe it would help facilitate this?