1

I just installed the vim-r-plugin on a Linux server and I found this issue (see below figure) prompted from the R console window (vimcom: Did you pass the --servername argument to Vim? ...) when I typed "\rf": enter image description here

To solve the issue I followed the instructions here and was trying to find the "servername" and tested some commands such like: enter image description here

But I have no idea what's the "--servername" I should use here. Any suggestions or answers? Thanks!

Tripp Kinetics
  • 5,178
  • 2
  • 23
  • 37
David Z
  • 6,641
  • 11
  • 50
  • 101
  • On that help page, every instance of `servername` says to use it with the argument `VIM`. Did you install vim with the `servername` capability enabled? – Chris Watson Jul 21 '15 at 18:40

1 Answers1

3

--servername is usually followed by some arbitrarily chosen name. This allows external processes like those used by your R plugin to interact with a running instance of Vim.

When the feature is available, GVim always starts as if you added --servername GVIMn where n is a number incremented for each new GUI window. You can see it on the right of the window title.

But you are using Vim so you'll need to do that explicitely:

$ vim --servername FOO
romainl
  • 186,200
  • 21
  • 280
  • 313