On 03-Aug-2010 Michael Trim <[email protected]> wrote:
> The attached patch adds two options which together allow dropped files
> to always be loaded as tabs instead of in the current window or a
> split window.  Files loaded via the Windows shell extension ("Edit
> with existing Vim...") should also be affected, since the shell
> extension sends a WM_DROPFILES message to the exisiting Vim window.
> 
> This seems like something that should be possible with AutoCmds or
> something, but my Googlings [1] didn't come up with anything except
> other people wanting this type of behaviour [2].
> 
> It would be nice if this patch could find its way into 7.3, but I
> realise it is a bit late.
> 
> [1] http://www.google.com/search?q=vim+open+dropped+file+new+tab
> [2] 
> http://stackoverflow.com/questions/1891513/can-i-force-gvim-to-open-dragged-in-files-in-a-new-tab


Aren't the 'dropnewtab' and 'dropsplit' mutually exclusive? If so,
wouldn't it be better if there was a single setting (e.g.
'drop') which could have a value of either "split" or "newtab"?

-- 
Cheers,
Lech

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui