Sign up ×  How to install gvim on a RHEL server that doesn't
have it (for use with SSH with X11 forwarding*)? No sudo access
is available, so it has to be in the user's home directory.
*Getting all the convenience of having the remote Vim in a
window that's separate from the shell.  share|improve this
question  3 Answers 3  up vote 2 down vote accepted  It isn't
very difficult to install vim in your home directory, and I see
that you've found a way. However this is not necessarily the
best solution.  Running vim on the remote machine has the
downsides of running a remote editor: it lags if the connection
lags; it dies if the connection dies.  You can use (g)vim
locally to edit remote files. There are two approaches for that.
One approach is to mount the remote filesystem over sshfs. Sshfs
is available on most unices (but not on Windows). Once mounted,
you can edit files with Vim and generally manipulate files as if
they were local. Sshfs requires SFTP access on the remote
machine.  mkdir ~/net/someserver ssh