On Mon, Sep 21, 2009 at 05:26:53PM +0800, Steven Woody wrote:
> Hi,
> Sometimes when I was working in a project and with some source files opened,
> then I want to open another vim instance to run 'DirDiff' plug-in for the
> current directory against another directory (that is an old version of the
> project tree). When this is the case, some files will be opened by DirDiff
> in another vim, but it will report that files are opened by the first vim
> instance and ask me for a confirm.  So I am thinking, in the later vim
> instance, if I can however tell vim that all the further opened file will be
> automatically read-only, that will save my life.
> 
Maybe `vimdiff -R a b` can help, or when you open a file, `:view c`.

Best,
Cheng


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to