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

13218Re: Launching an already open file

Expand Messages
  • Kelan Champagne
    May 9 10:34 PM
    • 0 Attachment
      On Nov 3 2010, 11:19 am, björn <bjorn.winck...@...> wrote:
      > Finally, if you have a specific MacVim window that you wish to open a file in
      > then you should use the --servername and --remote family of arguments to the
      > "mvim" script, e.g.
      > mvim --servername VIM --remote-silent filename

      Related to this, I just discovered that you can bring that existing window
      forward, if you know its servername. Just do:

      $ mvim --servername VIM --remote-expr "foreground()"

      This is useful if you want to avoid the warnings about the swap file already
      existing when you try to re-open the file, and would rather just bring that
      window to the front.


      You received this message from the "vim_mac" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 8 messages in this topic