Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run an Ubuntu server virtualbox under a Windows host for web development.

At the moment I do all editing in Vim running inside PuTTY. It runs pretty well, but lacks some useful features like native copypasting from the host.

I know about the remote mode of Vim, but afaik it can only operate on the same machine.

Question is, is it possible to make gVim on the windows host proxy all the commands (and the editing) to a Vim instance running on the Linux guest?

UPDATE: final solution:

  1. apt-get install vim-gtk on the client
  2. install XMing on the host
  3. create a shortcut with XLaunch, providing gvim as the program name and your PuTTY saved session name as the computer name.
  4. done!
share|improve this question
up vote 2 down vote accepted

Have you tried setting up a XServer (like XMing or cygwin/X) on your windows machine and use X forwarding?

This way you can run an instance of gVim on your linux host and have it displayed on your Windows machine.

See for a short guide how to make this work in windows.

share|improve this answer
Thanks, I just did exactly that. :) – Leonid Shevtsov May 24 '10 at 12:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .