Saturday, June 7, 2014

RE: How to start vimdiff?

wolfv wrote:
> How to start vimdiff?

Using ":help vimdiff" shows that vimdiff is equivalent to "vim -d".

Using gvim (which I recommend), you could start it at command prompt:

gvim -d file1 file2

Or, if you are already editing file2, you would enter:

:diffs file1

It is handy to do the last step in a new tab:

gvim file2
:tab sp
:vert diffs file1

John


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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: