13218Re: Launching an already open file
- May 9 10:34 PMOn 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 inRelated to this, I just discovered that you can bring that existing window
> then you should use the --servername and --remote family of arguments to the
> "mvim" script, e.g.
> mvim --servername VIM --remote-silent filename
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
- << Previous post in topic