On 2014-10-25 14:30, LCD 47 wrote:
> Thus the trick is to start diff mode after loading the files,
> like this:
>
> vim -c 'diffsplit file2 | set nu wrap | winc l | set nu wrap' file1
Or you could issue the :set in all the windows using :windo which
allows the files at the end:
vimdiff -c "windo set nu wrap" file1 file2
vim -dc "windo set nu wrap" file1 file2
(I default to launching vimdiff at the command-line when I want to
diff, rather than using the "-d" parameter, but either should work)
-tim
--
--
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:
Post a Comment