Loading ...
Sorry, an error occurred while loading the content.
 

Re: --remote questions

Expand Messages
  • Mathias Michaelis
    Hello James ... Sorry -- I know the answer (a .BAT file that checks if a vim server is already up and then behaves depending on this). I have already tried two
    Message 1 of 9 , Sep 27, 2005
      Hello James

      > Under Windows, I always invoke gvim with:
      >
      > "C:\Program Files\Vim\vim63\gvim.exe" -n --remote-silent filename.txt
      >
      > so that I don't get multiple copies of vim running. (I use an alias;
      > I don't type this manually.) This works, except for two things:
      >
      > 1. If I don't give a filename, gvim goesn't start at all. I get an
      > error about there not being an argument after --remote-silent. I'd
      > like gvim to start up anyway, with an empty file.
      >
      > 2. If I do give filename.txt, I get gvim running with two buffers: one
      > empty and one with filename.txt. Is there a way to avoid having the
      > empty buffer created?
      >
      > Thanks!
      >
      Sorry -- I know the answer (a .BAT file that checks if a vim server
      is already up and then behaves depending on this). I have already
      tried two times to post this, but without success.

      Sorry again
      Mathias
    Your message has been successfully submitted and would be delivered to recipients shortly.