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

4178Re: open from command line

Expand Messages
  • David Morel
    Oct 4, 2006
      Le 4 oct. 06 à 08:18, Christian Bird a écrit :

      > I've been searching the web to find a way to do this, but I can't. If
      > I have gvim running in a window in my desktop, is there any way to
      > have it open another text file (in a new buffer, tab, whatever, but
      > not a new window) from the command line?

      use Vim instead of gvim, and do open -a Vim your.file

      >
      > I'd like to do:
      > gvim foo.txt
      > and have it open an initial gvim app (which it does now) and then do:
      > gvim bar.txt
      > and have it open it in another tab or another buffer, but not open
      > another window. The help mentions the existence of clientserver mode
      > and the --remote options, but I can't get those to be built into the
      > executable. Any help would be greatly appreciated. Thanks.
      >
      > -- Chris
      >
      > --
      > Christian Bird
      > cabird@...

      David Morel <david.morel@...>
      -----------------------------------
      OpenPGP pubkey :
      http://www.amakuru.net/dmorel.asc
    • Show all 3 messages in this topic