Friday, December 7, 2012

RE: vimdiff: how to ignore all same lines and show ONLY diff lines?

> Date: Fri, 7 Dec 2012 23:50:17 -0500
> From: songpingemail@gmail.com
> To: vim_use@googlegroups.com
> Subject: vimdiff: how to ignore all same lines and show ONLY diff lines?
>
> exports:
> by default vimdiff will not only show the diff lines, but also show a
> couple of same lines to give you a sense of context.
> how to suppress all same lines and display only those diff lines?
>
> regards
> ping
>
> --
> 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

Add the following line to .vimrc:
set diffopt=filler,context:0
 

No comments:

Post a Comment