In the past, when I open a gvim session on a remote machine, the title bar of gvim would show the machine name in brackets. I am not sure if this was done by the remote gvim itself, or the local window manager. In the past I have used gnome2, although I am currently using unity (and finding it rather frustrating). Is there some setting I can change to always force remote windows to display the source machine?
|
feedback
|
|
If the 'title' option is set, Vim will set the window title to the value of 'titlestring'. The first thing you might try is
That should restore the title to whatever the window manager initially set it to, which may include the machine name. Another solution would be to leave 'title' set and define your own 'titlestring' that would include the name of the host machine. There are some examples under
and the default format (but not the format string, unfortunately) is shown under
A simple 'titlestring' setting that would show your host name and file name would be
| |||
|
feedback
|

gvimrecognizes this setting, or your remote window manager does. – new123456 Aug 8 '11 at 12:48